Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Docker cheatsheet
  2.  
  3. | Command | Description |
  4. |-|-|
  5. | Ctrl-p + Ctrl-q | Disconnects from current interactive container |
  6. | docker ps | Lists the current running containers |
  7. | docker images | Lists available containers |
  8. | docker stop <container> | Stops the specified container |
  9. | docker port <container> | Lists the ports exposed on the specified container |
  10. | docker network inspect <container> | Displays the net information for the specified container |
  11. | docker network ls | Lists the available networks. The Network ID corresponds to the bridge interface on the host |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement