for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

dev environments: compose-dev.yml not picking up updates

Open marchesir opened this issue 3 years ago • 1 comments

  • [x] I have tried with the latest version of Docker Desktop
  • [x] I have tried disabling enabled experimental features

Hi, this may not be an issue 100% if not pleaee close and let me know where this can be communicated.

so i created new dev environment following the guide at https://docs.docker.com/desktop/dev-environments/

  1. creates config in compose-dev.yml
  2. launches fine (cli/vscode)
  3. i selected repo with no code so it uses the default docker image: docker/dev-environments-default:stable-1
  4. so i fired up vscode and decided to add some go code so updated the dockerfile to use docker/dev-environments-go:stable-1
  5. but whatever i do it wont read new config, the only way is to delete the cotnainer and all its volumes

This seems quite restrictive as config can evolve over time and will bve part of the repo and get commited and having to delete everyhting for each update is not ideal.

regards and thanks

marchesir avatar Mar 07 '23 10:03 marchesir

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robot avatar Jun 23 '23 01:06 docker-robot