1
resposta

docker-compose build Não Funciona no Ubunuto(20.04)

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 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/

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta

Salve, Vinicius!

Qual a versão do seu docker-compose?

A minha é a 1.29.2 e funciona direitinho:

Insira aqui a descrição dessa imagem para ajudar na acessibilidade