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.

asked 5 months ago107 views
1 Answer
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
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions