Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

network_mode: service:app breaks when rebuilding #537

Closed
chrmarti opened this issue Sep 3, 2020 · 2 comments
Closed

network_mode: service:app breaks when rebuilding #537

chrmarti opened this issue Sep 3, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Sep 3, 2020

We recreate only the DevContainer when rebuilding and the db container references the app container by id which then no longer exists. It doesn't immediately error out, but the db container can no longer be restarted and the db's port is not available in the new app container.

We can think about using docker-compose stop and then up to rebuild and would probably want to test that early in the milestone with insiders to understand the scope.

For now I suggest to turn the reference around and let app refer to db.

@Chuxel Chuxel added the bug Issue identified by VS Code Team member as probable bug label Sep 3, 2020
@Chuxel
Copy link
Member

Chuxel commented Sep 3, 2020

Got it - will make that change.

@Chuxel
Copy link
Member

Chuxel commented Sep 3, 2020

Fixed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants