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

Komentar

Postingan populer dari blog ini

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Cara restart / stop windows service (services.msc) dengan bat / cmd

How to convert VMDK to OVA