Cheatsheets
Articles
Comprehensive tutorials
Pushing and Pulling to and from Docker Hub
*https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html*
Building Minimal Docker Containers for Python Applications
https://blog.realkinetic.com/building-minimal-docker-containers-for-python-applications-37d0272c52f3
Docker - How to cleanup (unused) resources
https://gist.github.com/bastman/5b57ddb3c11942094f8d0a97d461b430
Static files server (using nginx)
https://www.manifold.co/blog/building-a-production-grade-container-for-your-static-javascript-application-b2b2eff83fbd
Tools
Issues
Slow docker build
Snippets
List running containers
docker ps
Terminal into container
docker exec -t -I <CONTAINER ID> /bin/bash
docker exec -t -i <CONTAINER ID> /bin/sh (for alpine based)
Stream stdout
docker attach <CONTAINER ID>
Cleanup images
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
Images
Docker Compose for Node projects with Node, MySQL, Redis, MongoDB, NGINX, Apache2, Memcached, Certbot and RabbitMQ images