Wednesday, June 12, 2024

Solusi – ERROR: Version in “./docker-compose.yml” is unsupported


“Solusi – ERROR: Version in “./docker-compose.yml” is unsupported”

Daftar Isi


Mungkin anda pernah mengalami problem ketika deploy docker menggunakan docker compose muncul error seperti berikut :

ERROR: Version in “./docker-compose.yml” is unsupported. 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 theserviceskey, or omit theversionkey and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see


$ sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ which docker-compose
$ docker-compose -v
docker-compose version 1.27.4, build 40524192

Atau Jika belum solved update keduanya docker dan docker compose

sudo cd /usr/local/bin && sudo rm -rf docker-compose
sudo sudo curl -SL -o /usr/local/bin/docker-compose
sudo chmod +x docker-compose


Sahabat Blog Learning & Doing demikianlah penjelasan mengenai Solusi – ERROR: Version in “./docker-compose.yml” is unsupported. Semoga Bermanfaat . Sampai ketemu lagi di postingan berikut nya.

(Visited 90 times, 1 visits today)
Baca Juga :  Install Docker Desktop pada Windows

Similar Posts