Version in “./docker-compose.yml” is unsupported. You might be seeing this error because you're using the wrong Compose file version
Problem:
Version in “./docker-compose.yml” is unsupported. You might be seeing this error because you're using the wrong Compose file version
Solution:
Upgrade docker-compose
step1:
$which docker-compose
/usr/bin/docker-compose
step2:
$sudo rm /usr/bin/docker-compose
step3:
curl -L https://github.com/docker/compose/releases/download/1.20.0/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose
step4:
chmod +x /usr/bin/docker-compose
Version in “./docker-compose.yml” is unsupported. You might be seeing this error because you're using the wrong Compose file version
Solution:
Upgrade docker-compose
step1:
$which docker-compose
/usr/bin/docker-compose
step2:
$sudo rm /usr/bin/docker-compose
step3:
curl -L https://github.com/docker/compose/releases/download/1.20.0/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose
step4:
chmod +x /usr/bin/docker-compose
Komentar