docker compose

8
docker-compose A guide by Alex Fernandez

Upload: alex-fernandez

Post on 14-Apr-2017

80 views

Category:

Software


0 download

TRANSCRIPT

Page 1: docker compose

docker-compose

A guide by Alex Fernandez

Page 2: docker compose

docker-composeCompose is a tool for defining and running multi-container Docker applications.Compose is great for development, testing, and staging environments, as well as CI workflows.

Page 3: docker compose

Features1. Multiple isolated environments on a single host

2. Preserve volume data when containers are created

3. Only recreate containers that have changed

4. Variables and moving a composition between environments

Page 4: docker compose

Using docker-compose is a 3-way step

Page 5: docker compose

1. Define your app’s environment with a Dockerfile so it can be reproduced anywhere.

Page 6: docker compose

2. Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.

Page 7: docker compose

3. run docker-compose up and Compose will start and run your entire app.

Page 8: docker compose

Reference!We hope you’ll use these tips to go out and deliver a memorable pitch for your product or service!

For more (free) presentation tips relevant to other types of messages, go toheathbrothers.com/presentations