Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
from Docker run
to Docker compose
Adam Štipák | @new_POPE | rekurzia.sk
Life with Docker run (blueprint)
easy to start docker build, docker run
all services in one container
easy to interact wit...
Life with Docker run (real life)
boilerplate for build & run (docker-build.sh, docker-run.sh)
all services in one containe...
Next step?
Docker compose
Do some magic with entrypoint and cmd
docker-compose run app pause & unpause
docker-compose run app migrate
docker-compose...
Example
Thank you,
questions?
Adam Štipák | @new_POPE | rekurzia.sk
Upcoming SlideShare
Loading in …5
×

from docker run to docker compose (Webelement #36)

291 views

Published on

How to move from docker run to docker compose in development environment.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

from docker run to docker compose (Webelement #36)

  1. 1. from Docker run to Docker compose Adam Štipák | @new_POPE | rekurzia.sk
  2. 2. Life with Docker run (blueprint) easy to start docker build, docker run all services in one container easy to interact with everything with docker run -i -t
  3. 3. Life with Docker run (real life) boilerplate for build & run (docker-build.sh, docker-run.sh) all services in one container (not scalable) problems with orchestration monolyth
  4. 4. Next step?
  5. 5. Docker compose
  6. 6. Do some magic with entrypoint and cmd docker-compose run app pause & unpause docker-compose run app migrate docker-compose run assets install & build docker-compose run app tests
  7. 7. Example
  8. 8. Thank you, questions? Adam Štipák | @new_POPE | rekurzia.sk

×