1

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?

1 Answer 1

2

You can just run docker-compose up command again.

Sign up to request clarification or add additional context in comments.

1 Comment

That sounds easy :-) Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.