Docker sample code for Getting Started With Docker (2019).
Tested with Docker CE 18+.
- Docker Desktop community 2.1.0.3 (38240)
- docker engine 19.03.2
- docker-compose 1.24.1
- docker 18.06.1-ce, build e68fc7a
- docker-compose 1.22.0, build f46880fe
https://docs.docker.com/docker-for-mac/install/
https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce
https://docs.docker.com/install/linux/docker-ce/centos/#install-docker-ce
If needed, install Docker Compose using the following instructions. Docker Desktop for Mac OS X already installs Docker Compose.