vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Unable to launch containers

Open chriscasola opened this issue 4 years ago β€’ 21 comments

  • VSCode Version: 1.66.2
  • Local OS Version: macOS 12.3.1
  • Remote OS Version: mcr.microsoft.com/vscode/devcontainers/typescript-node:0-14
  • Remote Extension/Connection Type: Docker
  • Logs:
[2022-04-22T14:25:53.343Z] Remote-Containers 0.231.6 in VS Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977).
[2022-04-22T14:25:53.343Z] Start: Resolving Remote
[2022-04-22T14:25:53.348Z] Start: Check Docker is running
[2022-04-22T14:25:53.348Z] Start: Run: docker version --format {{.Server.APIVersion}}
[2022-04-22T14:25:53.390Z] Stop (42 ms): Run: docker version --format {{.Server.APIVersion}}
[2022-04-22T14:25:53.390Z] Server API version: 1.41
[2022-04-22T14:25:53.390Z] Stop (42 ms): Check Docker is running
[2022-04-22T14:25:53.391Z] Start: Run: docker volume ls -q
[2022-04-22T14:25:53.408Z] Stop (17 ms): Run: docker volume ls -q
[2022-04-22T14:25:53.409Z] Start: Run: docker build -f /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6
[2022-04-22T14:25:53.590Z] 
[2022-04-22T14:25:53.591Z] [+] Building 0.0s (0/1)                                                         
[2022-04-22T14:25:53.609Z] [+] Building 0.0s (1/2)                                                         
 => [internal] load build definition from bootstrap.Dockerfile             0.0s
 => => transferring dockerfile: 2B                                         0.0s
[2022-04-22T14:25:53.609Z] failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount348041224/bootstrap.Dockerfile: no such file or directory
[2022-04-22T14:25:53.610Z] Stop (201 ms): Run: docker build -f /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6
[2022-04-22T14:25:53.612Z] Command failed: docker build -f /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/7m/kwm3sc350q3c5w3cq0xkm2_hykbkhg/T/vsch/bootstrap-image/0.231.6
[2022-04-22T14:25:53.612Z] Exit code 1

Steps to Reproduce:

  1. Attempt to reattach to an existing container, or clone a new repository into a container volume

I was able to resolve this last week by removing the "Remote Containers" extension, relaunching vscode, and then installing the pre-release version. But now today doing the same is not resolving the issue.

Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No

chriscasola avatar Apr 22 '22 14:04 chriscasola

Had the same issue last week too and it came back again today.

I use docker desktop and used it to purge data and restore factory settings. Didn't work.

DavidFrancois avatar Apr 23 '22 16:04 DavidFrancois

I switched to the pre-release version, hopping that the issue will not come back soon 🀞 I don't know what will happen to my non-pushed data (in devvolumes) if the container fails...

jeanmatthieud avatar Apr 25 '22 08:04 jeanmatthieud

same here, pre-release works for now

kristjank avatar Apr 25 '22 19:04 kristjank

Yup, prerelease works for me. Hope it doesn't come up again 🀞

IceBotYT avatar Apr 25 '22 19:04 IceBotYT

Is this always on macOS? Does the $TMPDIR/vsch/bootstrap-image/0.231.6 folder exist and is it empty?

chrmarti avatar Apr 26 '22 14:04 chrmarti

Is this always on macOS? Does the $TMPDIR/vsch/bootstrap-image/0.231.6 folder exist and is it empty?

I'm using Windows

jeanmatthieud avatar Apr 26 '22 15:04 jeanmatthieud

Is this always on macOS? Does the $TMPDIR/vsch/bootstrap-image/0.231.6 folder exist and is it empty?

I am also using Windows

IceBotYT avatar Apr 26 '22 15:04 IceBotYT

The started happening for me as well.

  • Windows 10
  • VS Code 1.66.2
  • Remote Containers Ext v0.231.6
  • Docker Desktop 4.7.1
  • Docker Engine 20.10.14

Attempting to Clone In Container always results in: failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount365097283/bootstrap.Dockerfile: no such file or directory

I have multiple projects that all started doing this if I try to rebuild the container. Cleaning everything out of docker (deleting volumes, images, and containers) does nothing to fix it.

gabe-axian avatar Apr 26 '22 22:04 gabe-axian

I've run into this issue as well, using Windows host with WSL 2.

Can someone please shed some light as to why I need to use the pre-release version in order to access any of the cloned repositories I work on? How did this happen?

njbmartin avatar Apr 27 '22 17:04 njbmartin

Do you have the <temp folder>/vsch/bootstrap-image/<some version> folder mentioned in the error message? Is it empty? (It likely works with the pre-release because that is using a different folder due to the different version number.)

chrmarti avatar Apr 28 '22 08:04 chrmarti

@chrmarti I'm having the same issue.

In C:\Users\aaron\AppData\Local\Temp\vsch\bootstrap-image\0.231.6 I have several nested empty directories, but no files.

PS C:\Users\aaron\AppData\Local\Temp\vsch\bootstrap-image\0.231.6> tree /F
Folder PATH listing for volume Windows
Volume serial number is ****-****
C:.
└───.vscode-remote-containers
    └───dist
        └───dev-containers-cli-0.231.6
            └───dist
                β”œβ”€β”€β”€node_modules
                β”‚   └───vscode-dev-containers
                β”‚       └───container-features
                └───spec-node

Three identical directories are left over from prior versions.

PS C:\Users\aaron\AppData\Local\Temp\vsch\bootstrap-image> tree /F
Folder PATH listing for volume Windows
Volume serial number is ****-****
C:.
β”œβ”€β”€β”€0.231.0
β”‚   └───.vscode-remote-containers
β”‚       └───dist
β”‚           └───dev-containers-cli-0.231.0
β”‚               └───dist
β”‚                   β”œβ”€β”€β”€node_modules
β”‚                   β”‚   └───vscode-dev-containers
β”‚                   β”‚       └───container-features
β”‚                   └───spec-node
β”œβ”€β”€β”€0.231.4
β”‚   └───.vscode-remote-containers
β”‚       └───dist
β”‚           └───dev-containers-cli-0.231.4
β”‚               └───dist
β”‚                   β”œβ”€β”€β”€node_modules
β”‚                   β”‚   └───vscode-dev-containers
β”‚                   β”‚       └───container-features
β”‚                   └───spec-node
β”œβ”€β”€β”€0.231.5
β”‚   └───.vscode-remote-containers
β”‚       └───dist
β”‚           └───dev-containers-cli-0.231.5
β”‚               └───dist
β”‚                   β”œβ”€β”€β”€node_modules
β”‚                   β”‚   └───vscode-dev-containers
β”‚                   β”‚       └───container-features
β”‚                   └───spec-node
└───0.231.6
    └───.vscode-remote-containers
        └───dist
            └───dev-containers-cli-0.231.6
                └───dist
                    β”œβ”€β”€β”€node_modules
                    β”‚   └───vscode-dev-containers
                    β”‚       └───container-features
                    └───spec-node

Even after quitting VS Code, Docker Desktop, and Terminal, I get a "Folder In Use" error when I try to rename or delete the 0.231.6 or bootstrap-image directory.

aaronadamsCA avatar Apr 28 '22 12:04 aaronadamsCA

After restarting the computer and renaming the bootstrap-image directory, the extension successfully rebuilds the directory and restarts the container.

PS C:\Users\aaron\AppData\Local\Temp\vsch\bootstrap-image\0.231.6> tree /F
Folder PATH listing for volume Windows
Volume serial number is 8C31-608D
C:.
β”‚   bootstrap.Dockerfile
β”‚
└───.vscode-remote-containers
    └───dist
        └───dev-containers-cli-0.231.6
            β”‚   package.json
            β”‚
            └───dist
                β”œβ”€β”€β”€node_modules
                β”‚   └───vscode-dev-containers
                β”‚       └───container-features
                β”‚               awscli-debian.sh
                β”‚               azcli-debian.sh
                β”‚               common-alpine.sh
                β”‚               common-debian.sh
                β”‚               common-redhat.sh
                β”‚               desktop-lite-debian.sh
                β”‚               devcontainer-features.json
                β”‚               docker-debian.sh
                β”‚               docker-in-docker-debian.sh
                β”‚               docker-redhat.sh
                β”‚               dotnet-debian.sh
                β”‚               feature-scripts.env
                β”‚               fish-debian.sh
                β”‚               git-from-src-debian.sh
                β”‚               git-lfs-debian.sh
                β”‚               github-debian.sh
                β”‚               go-debian.sh
                β”‚               gradle-debian.sh
                β”‚               homebrew-debian.sh
                β”‚               install.sh
                β”‚               java-debian.sh
                β”‚               java-wrapper.sh
                β”‚               jupyterlab-debian.sh
                β”‚               kubectl-helm-debian.sh
                β”‚               maven-debian.sh
                β”‚               node-debian.sh
                β”‚               powershell-debian.sh
                β”‚               python-debian.sh
                β”‚               ruby-debian.sh
                β”‚               rust-debian.sh
                β”‚               sshd-debian.sh
                β”‚               terraform-debian.sh
                β”‚
                └───spec-node
                        devContainersSpecCLI.js

I'm wondering if this was triggered by upgrading Docker Desktop from v4.6.1 to v4.7.1.

aaronadamsCA avatar Apr 28 '22 12:04 aaronadamsCA

Shutting down VS code, deleting the problematic directory and its contents, and relaunching VS code seems to fix the issue for me. Indeed the problem has started happening right after an upgrade of Docker Desktop to 4.7.1, so maybe it's related.

krotton avatar Apr 28 '22 15:04 krotton

I had this on MacOS. As with the others, switching to a different remote containers extension version temporarily fixed it.

[21 ms] Remote-Containers 0.231.6 in VS Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977).
[20 ms] Start: Resolving Remote
[25 ms] Start: Check Docker is running
[25 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[126 ms] Server API version: 1.41
[126 ms] Start: Run: docker volume ls -q
[187 ms] Start: Run: docker build -f /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6
[+] Building 0.0s (1/2)                                                         
 => [internal] load build definition from bootstrap.Dockerfile             0.0s
 => => transferring dockerfile: 2B                                         0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount747845878/bootstrap.Dockerfile: no such file or directory
[505 ms] Command failed: docker build -f /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6
[506 ms] Exit code 1

Deleting the vsch dir mentioned in the build error (/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch for me) fixes it.

I can reproduce the issue again by manually deleting just bootstrap.Dockerfile from that path (leaving the parent dir) and rebuilding the devcontainer. So it appears that vscode assumes that if the dir exists in the tmp directory, the files also exist. Deleting just the var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6 dir again fixes it again (the files are copied back into that location when the next rebuild starts).

Everything in my vsch tmp dir before I first deleted it:
$ find /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650877843450
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650879632661
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651472741778
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651477882514
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651474094920
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351103013
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651472696605
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650352430936
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650879631538
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650877846254
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351697222
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650879699831
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650352485920
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351699554
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473609317
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650885345287
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473611313
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650458932652
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651474093746
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351812495
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651477993358
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650352368562
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473312955
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473310433
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650879614567
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650610824889
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351327520
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650351954585
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651472744297
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.232.6-1650879613469
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1650610840829
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473283983
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651477883764
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651473282119
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.233.0-1651477992274
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651472699637
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/spec-node
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6/dist/node_modules
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6/dist/node_modules/vscode-dev-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6/dist/node_modules/vscode-dev-containers/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.232.6/.vscode-remote-containers/dist/dev-containers-cli-0.232.6/dist/spec-node
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0/dist/node_modules
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0/dist/node_modules/vscode-dev-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0/dist/node_modules/vscode-dev-containers/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.233.0/.vscode-remote-containers/dist/dev-containers-cli-0.233.0/dist/spec-node
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.232.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.233.0
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.233.0/volume.Dockerfile
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.233.0/.devcontainer.json
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/serverCache
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/serverCache/dfd34e8260c270da74b5c2d86d61aee4b6d56977

And after deleting it, then running a successful devcontainer build:

find /var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651479303101
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651479304089
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/container-features/0.231.6-1651479416243
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/bootstrap.Dockerfile
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/node-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/java-wrapper.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/devcontainer-features.json
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/desktop-lite-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/java-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/terraform-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/python-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/go-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/homebrew-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/kubectl-helm-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/dotnet-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/docker-redhat.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/jupyterlab-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/install.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/fish-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/azcli-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/sshd-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/git-from-src-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/common-redhat.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/feature-scripts.env
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/git-lfs-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/ruby-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/gradle-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/docker-in-docker-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/maven-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/awscli-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/github-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/docker-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/rust-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/common-alpine.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/common-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/node_modules/vscode-dev-containers/container-features/powershell-debian.sh
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/spec-node
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/dist/spec-node/devContainersSpecCLI.js
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/bootstrap-image/0.231.6/.vscode-remote-containers/dist/dev-containers-cli-0.231.6/package.json
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.231.6
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.231.6/volume.Dockerfile
/var/folders/9m/yxf9s7bs3t95rxjpjhfbcnc40000gn/T/vsch/inspect-volume/0.231.6/.devcontainer.json

h4l avatar May 02 '22 08:05 h4l

The extension copies the folder together with the files there (using a temporary folder to make sure everything is in place before renaming that to the final name), so the assumption is that when the folder is there the files must be there too.

For some reason this assumption doesn't always hold. I haven't seen this myself yet. Has anyone seen it with recent pre-release versions (0.233.0 or later) of the extension?

chrmarti avatar May 04 '22 09:05 chrmarti

This has been happening with the release version as well.

IceBotYT avatar May 04 '22 10:05 IceBotYT

Has anyone seen it with recent pre-release versions (0.233.0 or later) of the extension?

Yep, I had it on the 0.233.0 pre-release as well as 0.231.6. Actually in my comment above, the list of files in my tmp dir (under the details collapsed section) I've got the folder structure containing no files for 3 versions.

According to this superuser question/answer, OSX deletes temporary files that haven't been modified/accessed after 3 days.

h4l avatar May 04 '22 12:05 h4l

Same issue. VSC Version: 1.66.2 Docker 4.6.1 (76265). Remote - Containers v0.231.6 and Pre-release version.

Deleting folder did help for now rm -rf $TMPDIR/vsch

ZUGAZ avatar May 04 '22 18:05 ZUGAZ

Everyone at my company seems to be getting this issue. It is not everyone all at once but seemingly randomly. It is happening on both Mac and PC (blow is an image on Mac). We have been solving it (so far) by copying the files from that folder ($TMPDIR/vsch/boostrap-image/0.231.6/*) on a computer that is working onto any computer that is not. Have yet to try deleting the whole directory.

image

joeySchentrup avatar May 04 '22 19:05 joeySchentrup

We also get this issue by times. Deleting all content of the folder helps so far.

alexanderniebuhr avatar May 05 '22 12:05 alexanderniebuhr