You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On change of inline config in yaml, I'm not getting the new content on rerun. I need an explicit option --force-recreate or to do a docker compose down to get the new content. I expect the behavior to be similar to an env variable change that is taken into account on change and make container restart on docker compose up
change config.txt content in the yaml to foo bar 2
rerun docker compose up
Output command 5:
# docker compose up
[+] Running 1/0
✔ Container config-inline-service-1 Created 0.0s
Attaching to service-1
service-1 | foo bar 1
service-1 exited with code 0
Expected output:
d1c6f75f97dd:/khaled# docker compose up
[+] Running 1/0
✔ Container config-inline-service-1 Created 0.0s
Attaching to service-1
service-1 | foo bar 2
service-1 exited with code 0
Description
On change of inline config in yaml, I'm not getting the new content on rerun. I need an explicit option
--force-recreate
or to do adocker compose down
to get the new content. I expect the behavior to be similar to an env variable change that is taken into account on change and make container restart ondocker compose up
Steps To Reproduce
How to reproduce:
docker compose up
docker compose up
Output command 5:
Expected output:
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: