Docker Compose
Docker Compose
- curl download : sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- apply rights : sudo chmod +x /usr/local/bin/docker-compose
- done : docker-compose --version
Use Docker Compose
- create yml file docker-compose.yml
- apply layer mysql, wordpress, nginx, etc
- docker-compose up -d