際際滷

際際滷Share a Scribd company logo
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 with everything with docker run -i -t
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
Next step?
Docker compose
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
Example
Thank you,
questions?
Adam tip叩k | @new_POPE | rekurzia.sk

More Related Content

from docker run to docker compose (Webelement #36)

  • 1. from Docker run to Docker compose Adam tip叩k | @new_POPE | rekurzia.sk
  • 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. 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
  • 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
  • 8. Thank you, questions? Adam tip叩k | @new_POPE | rekurzia.sk