Docker Compose in 12 Minutes
Why Stack Overflow recommends it
Stack Overflow users link it when answering Docker Compose and multi-container questions, as a quick walkthrough of services, volumes and containers talking to each other.
Recommended by 3 people across 3 different months, 2018 to 2020.
What it is
A 12-minute beginner tutorial by Jake Wright on using Docker Compose to define and run multi-container applications. It is the second video in his Docker series and shows a small example where several containers work together, with source code on GitHub.
What people said
Recommends Chinmay Kulkarni · 2018-04 · Stack Overflow · on “Make RESTful API calls in Rancher/Docker without a port”
If you never design any microservice in docker, I guess this video will help you as it helped me a lot. [this video] Video Summary : They created simple API endpoint using python. and calling that using another container. so two containers talking to each other.
Recommends eMad · 2019-10 · Stack Overflow · on “How to correctly mount code in docker for development”
I don't know flask so I can't fully help. Revise your knowledge quickly 1. [LINK] & 2. [this video] and see if you can solve this
Recommends Nat · 2020-07 · Stack Overflow · on “Docker-Compose File”
Docker compose is built for having multiple apps, with a Dockerfile it is very powerful. To put it simply you can split a docker-compose file into things called 'services' and they act as different, separate apps/microservices, so say I wanted a nodejs app and a database within the same docker-compose file and Dockerfile: Dockerfile: FROM node:7.7.2-alpine WORKDIR /usr/app COPY package.json . RUN npm install --quiet COPY . . Docker-compose: version: '3.1' services: mongo: image: mongo name: database restart: always environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example web: build: . command: npm run dev volumes: - .:/usr/app/ - /usr/app/node_modules ports: - "3000: