Changes

Docker

723 bytes added, 17:48, 23 June 2018
Docker Composition
</pre>
=Docker CompositionService==Introduction==In a distributed application, different pieces of the app are called “services.” Services are really just “containers in production.” A service only runs '''one''' '''image''', but it codifies the way that image runs—what ports it should use, '''how many replicas''' of the container should run so the service has the capacity it needs, and so on. Scaling a service changes the number of container instances running that piece of software, assigning more computing resources to the service in the process. Luckily it’s very easy to define, run, and scale services with the Docker platform -- just write a docker-compose.yml file. Source: https://docs.docker.com/get-started/part3/#prerequisites
=SWARM=