Skip to content

Sample is broken after rebuilding container #2843

@alexandr-osprey

Description

@alexandr-osprey
  • VSCode Version: 1.44.2
  • Local OS Version: W10 PRO 1909
  • Remote OS Version:alpine:3.11.2
  • Remote Extension/Connection Type: Docker
  • Docker 2.2.0.5
  • Remote containers extension - 0.112.0

Steps to Reproduce:

  1. Download Try a sample
  2. Rebuild container or Reload window after

I did not change contents of scripts or inside container, only did rebuild as in instruction. I do not see any running containers to login there and remove existing folder. I am only starting with remote containers and such problem in sample is very confusing.

[0 ms] Start: Resolving remote
[19 ms] Start: Check Docker is running
[19 ms] Start: Run: docker info
[679 ms] Start: Run: docker volume create --label vsch.local.repository=https://github.com/Microsoft/vscode-remote-try-dotnetcore --label vsch.local.repository.unique=false vsc-remote-sample
[896 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/Microsoft/vscode-remote-try-dotnetcore --filter label=vsch.local.repository.volume=vsc-remote-sample --filter label=vsch.local.repository.folder=vscode-remote-try-dotnetcore --filter label=vsch.quality=stable
[1107 ms] Start: Run: docker build -f c:\Users\alexander.kozachenko.vscode\extensions\ms-vscode-remote.remote-containers-0.112.0\scripts\volumeBootstrap.Dockerfile -t vsc-volume-bootstrap c:\Users\alexander.kozachenko.vscode\extensions\ms-vscode-remote.remote-containers-0.112.0\scripts
Sending build context to Docker daemon 7.68kB
Step 1/2 : FROM alpine:3.11.2
---> cc0abc535e36
Step 2/2 : RUN apk add --no-cache nodejs git openssh-client docker-c
li ;
---> Using cache
---> 5099b31c6dd0
Successfully built 5099b31c6dd0
Successfully tagged vsc-volume-bootstrap:latest
SECURITY WARNING: You are building a Docker image from Windows against a non-Win
dows Docker host. All files and directories added to build context will have '-r
wxr-xr-x' permissions. It is recommended to double check and reset permissions f
or sensitive files and directories.
[1819 ms] Cloning Github repository: Microsoft/vscode-remote-try-dotnetcore into /workspaces/vscode-remote-try-dotnetcore
[1820 ms] Start: Run: docker run -d --mount src=vsc-remote-sample,dst=/workspaces,type=volume,volume-driver=local -v /var/run/docker.sock:/var/run/docker.sock vsc-volume-bootstrap sleep infinity
[2316 ms] Start: Run: docker exec -i -u root 81491942b0a0c17e5ddf038592a5702b6840fc96d136f887792cd562073f8a33 /bin/sh
[2333 ms] Start: Launching Remote-Containers helper.
[2335 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global credential.helper '!f() { node /tmp/vscode-remote-containers-64f28f61df93733b12c697ab57d9495ca075c75f.js $*; }; f' || true
[2553 ms]
[2554 ms]
[2554 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-64f28f61df93733b12c697ab57d9495ca075c75f.js' >/tmp/vscode-remote-containers-64f28f61df93733b12c697ab57d9495ca075c75f.js
[2556 ms]
[2556 ms]
[2556 ms] Start: Run in container: # Copy .ssh/known_hosts
[2559 ms]
[2559 ms]
[2559 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-64f28f61df93733b12c697ab57d9495ca075c75f.js' >/tmp/vscode-remote-containers-server-64f28f61df93733b12c697ab57d9495ca075c75f.js
[2563 ms]
[2563 ms]
[2891 ms] Start: Run: docker exec -u root -e SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-64f28f61df93733b12c697ab57d9495ca075c75f.sock -e REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-64f28f61df93733b12c697ab57d9495ca075c75f.sock 81491942b0a0c17e5ddf038592a5702b6840fc96d136f887792cd562073f8a33 git clone https://github.com/Microsoft/vscode-remote-try-dotnetcore /workspaces/vscode-remote-try-dotnetcore
fatal: destination path '/workspaces/vscode-remote-try-dotnetcore' already exist
s and is not an empty directory.
[3247 ms] Start: Run: docker rm -f 81491942b0a0c17e5ddf038592a5702b6840fc96d136f887792cd562073f8a33

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcontainersIssue in vscode-remote containersinfo-neededIssue requires more information from posterverification-foundIssue verification failedverifiedVerification succeededwindowsIssue on Windows

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions