Docker - App

Card Puncher Data Processing

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

  • Tear down an application
docker stack rm <appname>

List

  • List stacks or apps
docker stack ls                                            

Scale

Change the docker file and rerun

docker stack deploy -c docker-compose.yml appName





Discover More
Card Puncher Data Processing
Docker - Service

Services in the context of docker are really just containers. To define, run just write a docker-compose.yml file and run it as an app List running services associated with an app List tasks...
Card Puncher Data Processing
Docker - docker-compose.yml

A docker-compose.yml is a configuration file that permits: to set docker option command in a yaml file and to define in one file multiple docker command (called services) where: web define...



Share this page:
Follow us:
Task Runner