Files
devops-directive-docker-course/10-interacting-with-docker-objects
2023-02-12 19:18:08 -05:00
..
2023-02-12 19:18:08 -05:00

Interacting with Containers and Other Docker Objects

Familiarize yourself with the docker command line!

You should:

  1. Use the documentation here: https://docs.docker.com/engine/reference/commandline/cli/
  2. Use the --help flag (e.g. docker build --help) to get more info about each command.

Images

  1. ls
  2. build (https://docs.docker.com/engine/reference/commandline/build/)
  3. tag
  4. pull
  5. push
  6. rm
  7. prune
  8. save
  9. docker scan (snyk security scan, also show trivy)

Containers

  1. ls
  2. run
  3. start
  4. attach
  5. exec
  6. logs
  7. top
  8. cp
  9. stop
  10. kill
  11. prune
  12. export

Volumes

  1. ls
  2. create
  3. inspect
  4. rm
  5. prune

Networks

  1. ls
  2. create
  3. inspect
  4. connect
  5. disconnect
  6. rm
  7. prune