Whilst learning Docker myself, I created the following cheatsheet containing the key concepts and commands that one may have trouble remembering when first learning Docker:
Feedback and comments are welcome and appreciated.
8 thoughts on “Docker Beginner’s Cheatsheet”
I’m pretty new to this. Pardon the questions if these are ignorant.
If using Kubernetes, would we require to interact directly with the Docker via CLI? Or would interactions be via the kubectl CLI for Kubernetes?
Just started setting up docker in work, this is a great help. Thank you!
cool share, thanks.
Cheatsheet … but I don’t see any sheet … ?
With a “cheatsheet” I would expect something you can print on one A4 or A3, and keep next to your computer.
Stupid question vis-à-vis Docker Compose vs. Kubernetes. Since something like Compose can be used to ‘wire up’ a (multi-container) application together would one opt for Kubernetes for the value-additions on things like say ‘replication’ (i.e a service that monitors that there are *n* replicas of a ‘service’ always up), availability, scheduling of containers in a cluster et al.?
Also, for docker-ized applications (which are ideally suited for stateless applications, if I am not mistaken) what are the best practices for dealing with ‘stateful’ aspects like say ‘volumes’ – do folks use certain systems/services that improve the reliability of the FS used for volumes, for instance… ?
Looks like we both have the same way of working and taking notes! Looks exactly like my onenote notes! Thanks for sharing
In many instances where I am making a custom docker image that I can’t completely define in a Dockerfile, I end up using the `docker commit` and `docker push`commands to freeze and push them up to dockerhub.
Thanks, as a newbie, I found this useful