747 B
747 B
Interacting with Containers and Other Docker Objects
Familiarize yourself with the docker command line!
You should:
- Use the documentation here: https://docs.docker.com/engine/reference/commandline/cli/
- Use the
--helpflag (e.g.docker build --help) to get more info about each command.
Images
- ls
- build (https://docs.docker.com/engine/reference/commandline/build/)
- tag
- pull
- push
- rm
- prune
- save
- docker scan (snyk security scan, also show trivy)
Containers
- ls
- run
- start
- attach
- exec
- logs
- top
- cp
- stop
- kill
- prune
- export
Volumes
- ls
- create
- inspect
- rm
- prune
Networks
- ls
- create
- inspect
- connect
- disconnect
- rm
- prune