docker-compose:
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
Features of docker-compose:
# curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose
# ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Check docker-compose installation:
# docker-compose version
docker-compose version 1.24.0, build 0aa59064
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j 20 Nov 2018
Uninstall docker-compose:
#rm /usr/local/bin/docker-compose
Ref.:
overview - https://docs.docker.com/compose/overview/
docker-compose in production: https://docs.docker.com/compose/production/
docker-compose reference: https://docs.docker.com/compose/reference/
docker-compose python application: https://docs.docker.com/compose/gettingstarted/
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
Features of docker-compose:
- Multiple isolated environments on a single host
- Preserve volume data when containers are created
- Only recreate containers that have changed
- Variables and moving a composition between environments
- Development environments
- Automated testing environments
- Single host deployments
# curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose
# ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Check docker-compose installation:
# docker-compose version
docker-compose version 1.24.0, build 0aa59064
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j 20 Nov 2018
Uninstall docker-compose:
#rm /usr/local/bin/docker-compose
Ref.:
overview - https://docs.docker.com/compose/overview/
docker-compose in production: https://docs.docker.com/compose/production/
docker-compose reference: https://docs.docker.com/compose/reference/
docker-compose python application: https://docs.docker.com/compose/gettingstarted/
Comments
Post a Comment