Docker Beginner’s Cheatsheet

Hi everyone,

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:

[http://willtaylor.blog/docker-beginners-cheatsheet/](http://willtaylor.blog/docker-beginners-cheatsheet/)

Feedback and comments are welcome and appreciated.

8 thoughts on “Docker Beginner’s Cheatsheet”

  1. 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?

    Reply
  2. 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.

    Reply
  3. 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… ?

    Reply
  4. Looks like we both have the same way of working and taking notes! Looks exactly like my onenote notes! Thanks for sharing

    Reply
  5. 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.

    Reply

Leave a Comment