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
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
im using a remote container as my dev environment. so essentially in my project i have a Dockerfile, docker-compose.yml and my devcontainer.json that vscode uses to build, start and launch into the container with my code mounted. works great so far.
The thing is, on the linux host, if do a docker ps, i see my single container, but if look at the docker images, two are created, and the last one is the one started.
(note in the above 'my_proj' part of the image name comes from my the vscode project folder name i believe.) i can delete the first image given that it's not actually started. but i want to understand why this is happening? it happens every time, if rebuild or rebuild with no cache.
(On a side note - is there a way to specify an image name and tag using the .devcontainer.json?)
My setup is:
running on Windows 11
remoting into linux host via ssh, where code is in my home
when project is opened, vscode builds, starts and launches into the container environment, mounting my source.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
im using a remote container as my dev environment. so essentially in my project i have a Dockerfile, docker-compose.yml and my devcontainer.json that vscode uses to build, start and launch into the container with my code mounted. works great so far.
The thing is, on the linux host, if do a docker ps, i see my single container, but if look at the docker images, two are created, and the last one is the one started.
my docker-compose looks like this:
and my .devcontainer.json looks like this:
docker ps shows a single container running with:
docker images shows two images created, with names:
(note in the above 'my_proj' part of the image name comes from my the vscode project folder name i believe.) i can delete the first image given that it's not actually started. but i want to understand why this is happening? it happens every time, if rebuild or rebuild with no cache.
(On a side note - is there a way to specify an image name and tag using the .devcontainer.json?)
My setup is:
The text was updated successfully, but these errors were encountered: