grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

whats_going_on_in_containers.md (643B)


      1 # what's going on in containers
      2 
      3 | command                     | description                          |
      4 | ---                         | ---                                  |
      5 | `docker container top`     | process list in one container        |
      6 | `docker container inspect` | details of one container config      |
      7 | `docker container stats`   | performance stats for all containers |
      8 
      9 ```
     10 docker container run -d --name nginx nginx
     11 docker container run -d --name mysql -e MYSQL_RANDOM_ROOT_PASSWORD=true mysql
     12 docker container ls
     13 docker container top mysql
     14 docker container top nginx
     15 docker container inspect nginx
     16 docker container stats
     17 ```