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

If /tmp/devcontainercli-$USER does not exist, devcontainer fails to start

Open staffanf opened this issue 1 year ago • 2 comments

We have a new issue where one of our devcontainers do not start the first time after reboot. It must be rebuilt before it works.

This devcontainer uses docker-compose and building from the compose-file.

I can reproduce it 100% of the time with this devcontainer but not with our other devcontainers.

I have created a repo which reproduces this issue: https://github.com/staffanf/vscode-remote-release-issue-9138

  • VSCode Version: 1.83.1

  • Local OS Version: Ubuntu 22.04.3 LTS

  • Remote OS Version: Ubuntu 22.04.3 LTS docker container

  • Remote Extension/Connection Type: Containers

  • Logs:

remoteContainers-2023-10-26T11-54-28.837Z.log

Steps to Reproduce:

  1. Reboot machine or manually remove /tmp/devcontainercli-$USER/
  2. Open a devcontainer using docker-compose
  3. ERROR: Starting devcontainer crashes with error since it's missing this tmp file
  4. Reopen locally
  5. Rebuild and reopen container
  6. Container starts normally

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

staffanf avatar Oct 26 '23 07:10 staffanf