Skip to content

Instantly share code, notes, and snippets.

@tutelacooldouce
Forked from LeCoupa/cli.docker.sh
Created September 26, 2021 22:35
Show Gist options
  • Select an option

  • Save tutelacooldouce/830878b7e92a7e66739a8c6d268a81b9 to your computer and use it in GitHub Desktop.

Select an option

Save tutelacooldouce/830878b7e92a7e66739a8c6d268a81b9 to your computer and use it in GitHub Desktop.
Docker Cheatsheet + Tips & Tricks --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
docker attach [OPTIONS] CONTAINER # Attach to a running container
docker ps [OPTIONS] # List containers
docker pull [OPTIONS] NAME[:TAG|@DIGEST] # Pull an image or a repository from a registry
docker run [OPTIONS] IMAGE [COMMAND] [ARG...] # Run a command in a new container
docker start [OPTIONS] CONTAINER [CONTAINER...] # Start one or more stopped containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment