- Published on
Docker
- Authors
- Name
- Timothy Blanks
prune
sudo docker system prune -a -f
Flags
show build details
--progress=plain
--no-cache
keep container running with bash
CMD ["/bin/sh", "-c", "bash"]
set existing container to restart after reboot
docker update --restart=always <container>
Need to see file in an image
docker run -it imagename sh