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 |