====== Docker ====== * [[:docs:virtualizacion:docker:instalación|Instalación de Docker]] en varias distribuciones * [[:docs:virtualizacion:docker:automatizacion]] ====== Kubernetes ====== * [[:docs:virtualizacion:docker:kubernetes]] ====== Docker Swarm ====== * [[:docs:virtualizacion:docker:swarm|Docker Swarm Cheat-Sheet]] ===== Shell interactivo ===== Iniciar shell docker run -it --name test alpine /bin/sh Salir ''Ctrl-P'' ''Ctrl-Q'' (queda contenedor corriendo) Volver a entrar docker attach test ===== Comandos para borrar ===== Imágenes: docker rmi $(docker images -f dangling=true -q) docker rmi $(docker images -a -q) Contenedores: docker rm $(docker ps -a -f status=exited -q) Volumenes: docker volume rm $(docker volume ls -f dangling=true -q) ====== Herramientas ====== * [[https://github.com/jesseduffield/lazydocker|LazyDocker - A simple terminal UI for both docker and docker-compose]] * [[https://github.com/hadolint/hadolint|Hadolint - A smarter Dockerfile linter]] ====== Imágenes preferidas ====== * [[https://github.com/bcicen/ctop|Ctop - Top-like interface for container metrics]] ====== Material de referencia ====== * [[https://jsitech1.gitbooks.io/meet-docker/|Meet Docker]] libro sobre docker * [[https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes|How To Remove Docker Images, Containers, and Volumes]] ====== Dockerfile colecciones ====== * [[https://github.com/vimagick/dockerfiles|vimagick/dockerfiles]] * [[https://github.com/jessfraz/dockerfiles|jessfraz/dockerfiles]] * [[https://github.com/schickling/dockerfiles|schickling/dockerfiles]]