Changing an environment variable in a running Docker container
Docker can't change a running container's environment, so changing NODE_ENV means recreating the container. How I copied a worker's environment to a file, changed one variable, swapped the containers with a rollback ready, and timed it with the app deploy that changed NODE_ENV.
Read more →