Table of Contents

Docker - App

About

An app for Docker is an ensemble of service (one or more) and defines the notion of instance of a compose file.

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

Management

Start

Run the specified Compose file

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

where:

Stop

docker stack rm <appname>

List

docker stack ls                                            

Scale

Change the docker file and rerun

docker stack deploy -c docker-compose.yml appName