Guest User

Untitled

a guest
Nov 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # build an image
  2. docker build .
  3.  
  4. # build and tag an image
  5. docker build -t user/myapp:1.0.2 -t user/myapp:latest .
  6.  
  7. # prune images, with no containers
  8. docker image prune -a
  9.  
  10. # prune containers
  11. docker container prune
Add Comment
Please, Sign In to add comment