EC2 Error in VS Code - Changes in VS Code Needed to be made

0

Good Evening, I ran into an error and learned that "Changes you make in VS Code on your computer do not affect anything on the EC2 server". I am not entirely sure if my mistake was made in the EC2 server, but I continually run into the same error "Building web [+] Building 0.0s (0/0) ERROR: invalid tag "https://github.com/martinyaz/django_docker_aws.git:django_docker_aws_web": invalid reference format ERROR: Service 'web' failed to build : Build failed" when I enter "sudo docker-compose build". Please let me know if there is any assistance someone may provide as soon as you can. Thank you.

feita há 6 meses112 visualizações
1 Resposta
0

Hello.

As you know, VSCode is just an editor, so it does not affect EC2 unless you are connected to EC2 via SSH etc.
Regarding the content of the error, it seems that there is something wrong with the syntax of Docker Compose's docker-compose.yml.
This may occur even if some required modules are not installed in the container image.
Please check again whether the format of docker-compose.yml is correct.

profile picture
ESPECIALISTA
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas