Is developing in a remote-container possible?

Following the Concept of developing inside a container
https://code.visualstudio.com/docs/remote/containers

i try to attach VSC to a BCxx Container that i've created with New-BcContainer.
unfortunately i can't get it to work.

if i click "Attach to running container" i'll get:

[68 ms] Remote-Containers 0.209.6 in VS Code 1.63.2 (xxxxxxxxx ).
[68 ms] Start: Resolving Remote
[70 ms] Setting up container: /bc180
[89 ms] Start: Run: docker inspect --type container /bc180
[962 ms] Start: Check Docker is running
[963 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[1868 ms] Server API version: 1.41
[1869 ms] Start: Inspecting container
[1869 ms] Start: Run: docker inspect --type container xxxxxxxxx
[2849 ms] Start: Run in container: /bin/sh
[2972 ms] Start: Run in container: uname -m
[3869 ms] Start: Run in container: cat /etc/passwd
[3869 ms] Stdin closed!
[3873 ms] Shell server terminated (code: 126, signal: null)
container xxxxxxxxx encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: Der Benutzername oder das Kennwort ist falsch. (0x52e)

"Der Benutzername oder das Kennwort ist falsch" means Username or Password is wrong.

Is it expected to work that way or do i have to make a seperate Container for VSC?

wbr
Tibor
Sign In or Register to comment.