Skip to content

Docker (Community Edition)

  1. Installation
  2. Cheatsheet Docker Compose
  3. Docker Networking
  4. Docker Images
  5. Docker Containers
  6. Persistent Storage
  7. Resource Clean up
  8. Cheatsheet
  9. Example Nginx with Volume
  10. Example Nodejs Web Server w/ Proxy
  11. Example Build Custom Docker Image
  12. BuildKit

Good to know

  1. The Docker for Mac application does not use docker-machine to provision that VM; but rather creates and manages it directly.
  2. Docker exposes the docker API on a socket in /var/run/docker.sock. Since this is the default location where docker will look if no environment variables are set, you can start using docker and docker-compose without setting any environment variables.
  3. With Docker for Mac, you get only one VM, and you don’t manage it. It is managed by the Docker for Mac application, which includes autoupdate to update the client and server versions of Docker.
  4. If you need several VMs and want to manage the version of the Docker client or server you are using, you can continue to use docker-machine, on the same machine.

To be explored

  • pid / uts / ipc settings
  • Networking
  • Policies
  • Debugging, Logging
  • Security
  • Constraints on resources
  • Parameters & Environment Variables

Resources

  1. Official Docs
  2. Docker run reference
  3. Docker Network settings
  4. Docker Restart policies
  5. Dockerfile parameters
  6. Use the docker command line reference
  7. egghead.io Docker Fundamentals
  8. Docker cheatsheet - GitHub wsargent
  9. Docker Hub mongo reference

Last update: May 7, 2023