Docker
- Installation
- Cheatsheet Docker
- Cheatsheet Docker Compose
- Docker Compose Configuration
- Docker Networking
- Docker Images
- Docker Containers
- Persistent Storage
- Resource Clean up
- Example Nginx with Volume
- Example Nodejs Web Server w/ Proxy
- Example Build Custom Docker Image
- BuildKit
Good to know
- The Docker for Mac application does not use docker-machine to provision that VM; but rather creates and manages it directly.
- 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. - 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.
- 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
- Official Docs
- Play with Docker Labs
- Dockerfile reference
- Docker
run
reference - Docker Network settings
- Docker Restart policies
- Dockerfile parameters
- Use the docker command line reference
- egghead.io Docker Fundamentals
- Docker cheatsheet - GitHub wsargent
- Docker Hub mongo reference