安装docker-compose
1 | curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose |
docker-compose volumes
卷标
1 | docker volume ls |
mysql-配置
1 | version: '3.3' |