Docker - App

1 - About

An app is an ensemble of service and defines the notion of instance of a compose file.

There is one to one relationship between an app and a compose file

3 - Management

3.1 - Start

Run the specified Compose file


docker swarm init
docker stack deploy -c <composefile> <appname>  

where:

3.2 - Stop

  • Tear down an application

docker stack rm <appname>

3.3 - List

  • List stacks or apps

docker stack ls                                            

3.4 - Scale

Change the docker file and rerun


docker stack deploy -c docker-compose.yml appName


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap