Docker useful commands
Listing containers
- https://docs.docker.com/engine/reference/commandline/container_ls/
- docker container ls -all
Remove containers
- https://docs.docker.com/engine/reference/commandline/rm/
- docker rm quickstart.cloudera
Stopping containers
- docker stop quickstart.cloudera # Stop container (link)
- docker container prune # Remove all stopped containers
- docker volume prune # Remove all unused volumes
- docker image prune # Remove unused images
Links
- https://hackernoon.com/clean-out-your-docker-images-containers-and-volumes-with-single-commands-b8e38253c271
- https://stackoverflow.com/questions/44480740/how-to-save-a-docker-container-state
- https://community.cloudera.com/t5/Web-UI-Hue-Beeswax/The-application-won-t-work-without-a-running-HiveServer2/td-p/30627
Comments
Post a Comment