Howdy, a newb here. My goal is to use the container I created in the manual for python to create a website that simply displays “Hello, Docker!”
I have successfully followed the manual all the way through creating an image, container, configuring CI/CD, and I can even run it on Docker Desktop. However, I am missing the final piece of the puzzle: being able to go to a URL. (There are things on my docker hub but it seems useless.)
…
Do I even need ECS from here? (I prefer aws in general only due to existing account)
If ECS is even necessary:
Trying to deploy to ECS has been a pain, I got as far as creating an AWS context, I can run docker context ls
and see the ‘myecscontext* (us-east2)’.
I run docker compose up
and it executes but doesn’t return anything (might be normal). My yml file is named “docker-compose.dev.yml” as the manual instructed… so instead of docker compose --file mycomposefile.yaml up
I tried docker compose --file docker-compose.dev.yml up
but received:
WARNING services.scale: unsupported attribute
WARNING services.build: unsupported attribute
service web doesn’t define a Docker image to run: incompatible attribute
docker compose ps
yields nothing.
Any and all advice or knowledge would be greatly appreciated!
Thank you