5

I have a running container with an environment variables file mounted as such:

docker run -d --env-file ./env.list my/image and everything is working well, now I have updated my ./env.list file and would like the updated files to be reflected. Tried restarting the container but that didn't work.

Mulkave
  • 183
  • 1
  • 2
  • 5

1 Answers1

4

It's currently not possible. Check this and this.

See if using docker commit to save the state and create a new instance will fit your situation.

gtirloni
  • 5,746
  • 3
  • 25
  • 52
  • Thanks for the references, pretty helpful. Unfortunately the only way is to re-run the container for now. – Mulkave Sep 02 '14 at 21:22