Linked Questions

Popular Questions

Running EBS with Single Docker Container. I have used the environment variables configuration of EBS to set things like connection strings, etc.

I'd like to connect to a machine and run a terminal in a new container.

That's easy enough, I would just need to:

eb ssh

and then

sudo docker run -it my-image bash

However, I want that terminal environment to have the same configuration as the application (think of heroku run).

It looks like the environment is assembled for the actual application run in /opt/elasticbeanstalk/hooks/appdeploy/enact/00run.sh, but I haven't had any luck adapting it to my purposes.

Is there an approved way to accomplish this?

Related Questions