Skip to content

Instantly share code, notes, and snippets.

@hemanth22
Forked from cig0/Cheatsheet.md
Created September 11, 2019 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemanth22/b4a39a9b9d5046d79c88d61e5f4800cf to your computer and use it in GitHub Desktop.
Save hemanth22/b4a39a9b9d5046d79c88d61e5f4800cf to your computer and use it in GitHub Desktop.
Docker #docker

Docker cheatsheet

Command Description
Ctrl-p + Ctrl-q Disconnects from current interactive container
docker ps Lists the current running containers
docker images Lists available containers
docker stop Stops the specified container
docker port Lists the ports exposed on the specified container
docker network inspect Displays the net information for the specified container
docker network ls Lists the available networks. The Network ID corresponds to the bridge interface on the host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment