compose-cli icon indicating copy to clipboard operation
compose-cli copied to clipboard

Add docker run support to ECS

Open chris-crone opened this issue 5 years ago • 2 comments

Description The Compose CLI currently only supports using Compose to deploy workloads to ECS using docker compose commands. There may be use cases where users would like to run simple workloads against ECS using the docker run command.

Please leave us feedback on if you think this would be useful and give an example of what your use case would be.

chris-crone avatar Oct 26 '20 10:10 chris-crone

we have a nightly data ingestion workflow that runs in an ephemeral container. it spins up, add some data to another container, and spins down. we're looking to move to use the docker compose cli with ECS and would love to keep using docker run for this.

mattyweb avatar Oct 27 '20 20:10 mattyweb

Yes, this is useful. I need to use the docker run command from development to production environment.

-In development environment, I need to execute commands like bin/rails db:migrate bin/rails test in container. -In production environment, I need to run commands like bin/rails console bin/rails runner script.rb to perform temporary tasks or data checks.

I am very excited to see that docker compose supports deployment to ECS. The lack of run is the reason why I failed to switch from docker-compose. Hope to implement this function.

chloerei avatar Mar 18 '21 21:03 chloerei