Skip to content

Docker

  1. Installation
  2. Cheatsheet Docker
  3. Cheatsheet Docker Compose
  4. Docker Compose Configuration
  5. Docker Networking
  6. Docker Images
  7. Docker Containers
  8. Persistent Storage
  9. Resource Clean up
  10. Example Nginx with Volume
  11. Example Nodejs Web Server w/ Proxy
  12. Example Build Custom Docker Image
  13. 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 auto-update 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. Play with Docker Labs
  3. Dockerfile reference
  4. Docker run reference
  5. Docker Network settings
  6. Docker Restart policies
  7. Dockerfile parameters
  8. Use the docker command line reference
  9. egghead.io Docker Fundamentals
  10. Docker cheatsheet - GitHub wsargent
  11. Docker Hub mongo reference

Last update: May 6, 2024