IT/Docker

[Docker] Docker-compose 실행시 build 오류

월공 2021. 6. 9. 14:38
728x90
300x250

stackoverflow 는 천재들만 있는것인가 ... docker compose 버전 문제라고 한다

다운그레이드하고 실행하니 정상적으로 실행 되었다 wow ..

 

tomcat + mariadb yml 실행시에 자꾸 아래와 같은 오류 발생

 

rm -f /usr/local/bin/docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose

https://stackoverflow.com/questions/67010408/unable-to-start-docker-container-from-docker-compose-unknown-flag-iidfile

 

Unable to start docker Container from docker-compose - "unknown flag: --iidfile"

When I try to run ' docker-compose up" the command prompt throws the below error : $ docker-compose up Building tomcat unknown flag: --iidfile See 'docker build --help'. ERROR: Service 'tomcat'

stackoverflow.com

 

 

728x90
300x250