sfrehse
sfrehse

Reputation: 1082

docker-compose: Modify environment variable

Given a docker-compose.yml file in version "2" and a running container. How to pass a modified environment variable specified in the .yml-file to the running container. Which docker-compose command needs to taken without rebuilding the image?

Upvotes: 1

Views: 394

Answers (1)

Lauri
Lauri

Reputation: 4679

You can just run docker-compose up command again.

Upvotes: 2

Related Questions