38
Docker Compose (Windows의 Docker Machine 포함)를 사용하여 Docker 컨테이너 그룹을 시작하려고합니다.docker-compose start "오류 : 시작할 컨테이너가 없습니다"
내 고정 표시기-compose.yml : 성공적으로
version: '2'
services:
postgres:
build: ./postgres
environment:
- POSTGRES_PASSWORD=mysecretpassword
frontend:
build: ./frontend
ports:
- "4567:4567"
depends_on:
- postgres
backend:
build: ./backend
ports:
- "5000:5000"
depends_on:
- postgres
docker-compose build
실행됩니다.
Starting postgres ... done
Starting frontend ... done
Starting backend ... done
ERROR: No containers to start
내가 고정 표시기 컨테이너가 실행되고 있지 확인 않았다 : 나는 docker-compose start
을 실행하면 나는 다음과 같은 출력을 얻을. 내 컨테이너를 시작하려면 어떻게해야합니까?
'docker-compose build'는 무엇을합니까? – Prichmp
'docker-compose build'는 docker-compose.yml 파일에서 이미지를 생성합니다. – JesusTinoco