728x90
반응형
docker-compose 버젼이 낮은상태에서 version: '2' 를 사용할 경우
1 | ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options. | cs |
위와 같은 에러가 발생한다.
그럴땐 docker-compose를 최신버젼으로 업데이트하자.
1 | curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | cs |
728x90
반응형
'Programming > Docker' 카테고리의 다른 글
docker file copy from container to host (0) | 2017.04.03 |
---|---|
Nginx on Docker (0) | 2017.03.30 |
socket.io load balancing with HAProxy on Docker (0) | 2017.03.28 |
HAProxy with Docker (0) | 2017.03.24 |
docker upgrade (error : The engine version is lesser than the minimum required by compose) (0) | 2016.07.18 |
댓글