티스토리 뷰
docker-compose up 실행시 아래와 같은 에러가 발생하여 삽질을 하였다.
|
ERROR: The Compose file './docker-compose.yml' is invalid because: Invalid top-level property "manager". Valid top-level sections for this Compose file are: version, services, networks, volumes, secrets, configs, and extensions starting with "x-". You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ |
설명처럼 version 을 소수점으로 변경도 해보고, 이런 저런 별짓을 다해봤지만 ...
결론은 띄어쓰기 문제였다.
yaml 파일에서 같은 레벨의 띄어쓰기가 맞지않아서 에러가 나는 거였음...
위 에러날때 동급의 항목이 같은 띄어쓰기로 되어 있는지 , 더 앞칸으로 되어 있는건 아닌지 확인해 보면 해결될듯함
'DevOps' 카테고리의 다른 글
| centos 7 virtualbox guest additions 해결및 공유폴더설정완료 (0) | 2019.08.26 |
|---|---|
| Devops roadmap (0) | 2019.06.25 |
| docker - swarm/compose/service/stack (0) | 2019.06.07 |
| Docker Error (0) | 2019.06.05 |
| Docker 명령어 정리 (2) | 2019.03.21 |
- Total
- Today
- Yesterday
- mailserver
- #iamreo
- ai coding
- 대화로 코딩
- minikube
- poi셀크기
- orm
- 바이브코딩
- 딥러닝
- #gof #디자인패턴
- Persistent
- 메모리
- vibecoding
- 메일서버
- nvida gpu 할당
- JVM
- memory
- 아키텍처비기능
- Gc
- 릴레이
- 비기능
- 정규식
- 자바스크립트
- Hibernate
- JPA
- POI
- non-functional
- 아키텍처요소
- non
- apache POI
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
