Dev Env setup Error [windows VSC dev container]
I already have Immich setup and running in Docker Desktop windows 11 for personal use. I was looking to setup the dev environment too in a VSC dev container
When I run "Dev Containers: Rebuild and Reopen in Container" in VSC per the setup guide https://immich.app/docs/developer/devcontainers
[issue 1] The container fails to start with this error:
I turned off the docker containers that run my user-installation https://i.vgy.me/vmZzNT.png
Should I be trying to give a unique name to the dev postgres container? Maybe temporarily renaming my user-installed postgres before + after when I use the dev container?
Same for redis, renaming them is what the error messages suggests. Just wondering if renaming to avoid conflicts is the right practice to when I want to dev or run my user-mode installation?
[issue 2] After renaming the containers, I get a different dev container startup error in VSC:
full log here https://pastes.io/immich-dev-vsc
EDIT: a docker desktop restart seems to have fixed this after renaming the user-installation-containers
my compose.yml and .env are defaults, except :
When I run "Dev Containers: Rebuild and Reopen in Container" in VSC per the setup guide https://immich.app/docs/developer/devcontainers
[issue 1] The container fails to start with this error:
I turned off the docker containers that run my user-installation https://i.vgy.me/vmZzNT.png
Should I be trying to give a unique name to the dev postgres container? Maybe temporarily renaming my user-installed postgres before + after when I use the dev container?
docker rename <current_name> <new_name>Same for redis, renaming them is what the error messages suggests. Just wondering if renaming to avoid conflicts is the right practice to when I want to dev or run my user-mode installation?
[issue 2] After renaming the containers, I get a different dev container startup error in VSC:
failed to execute bake: read |0: file already closedfull log here https://pastes.io/immich-dev-vsc
EDIT: a docker desktop restart seems to have fixed this after renaming the user-installation-containers
my compose.yml and .env are defaults, except :
- non-default postgres db password
- a few volumes mounts for original image libraries
- ml acceleration section uncommented for nvidiacuda