I checked the closed issue reported on github: https://github.com/moby/moby/issues/3285
But the solution doesn't works.
I checked the closed issue reported on github: https://github.com/moby/moby/issues/3285
But the solution doesn't works.
I guess you want to add environment variables to an already running container.
From an environment-file, there's no way to do it currently, except removing the container and starting it again with the new env-file.
For single variables you can use docker exec CONTAINER_NAME export VARIABLE=VALUE
.
The issue you linked to is about container configurations like cpu-limits and memory limits. Also you can change the restart policy with docker update
.