opened 06:56AM - 29 Oct 14 UTC
closed 09:36PM - 14 Jan 15 UTC
One can pass environment vars into new containers when building them with "docke…r run":
docker run -e "FOO=bar" ...
But how can one do that for an existing container, there is no -e option for docker run.
I wish to be able to restart a container with a new environment setting, but do not wish to actually recreate the container (as it has lots of manual changes in there).
One option might be to commit the container to an image and create a new container based on that image. Seems a very roundabout way though.
have I missed something?