Still the same error:
Now that the file is in there check it’s permissions,
ls -l /workspaces/alpine-3/.devcontainer.json
i think it should be something like 755
Something interesting happened. The folder alpine-3 and everything under it, disapeared, after running New DevContainer.
I did this twice to confirm.
I’ve seen that happen when I tried to change configs for a podman / toolbox container.
I’m starting to think the container is misconfigured.
I just realized about this podman.socket is still active:
Let me stop it, just in case.
Now both off.
And the error still there.
as above, stop the podman service if you are running Docker just to test.
I’m going to try some things to see what happens. . .
I am making some progress.
- Uninstall DevContainers
- Remove folders under
/home/${USER}/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dev-containers-user-cli/dist/spec-node
, and/home/${USER}/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node
- Remove
sudo rm -rf /tmp/vsch-${USER}
folder - Change permissions on
/tmp
withsudo chmod 777 -R /tmp
- Reinstall DevContainers extension
This is what I’ve got so far:
So, confident now, that I am running three vscode instances at a time:
How did you arrive at this?
I think the guys developing VS Code DevContainers, didn’t have in mind Fedora Silverblue at all. DevContainers runs without touching anything in Ubuntu 22.04.
Oh, well. Maybe that is the price to pay for “immutable” operating systems.
This is the verdict:
Can you share the results of Data Science Python + R ? & Jupyter Notebooks ?
if I’m not mistaken those two workflows should be similar?
By searching this file devContainersSpecCLI.js
, under the/
folder, the script that couldn’t be run according to the debug console. I found the file under those two folders.
Special thanks to @hamrheadcorvette for bringing the light!

if I’m not mistaken those two workflows should be similar?
No, not at all. Very different. But flatpak-vscode can be fixed pretty quickly. I have been able to reproduce it and create a procedure to integrate flatpak-vscode with Distrobox. The author of Distrobox focused on making it work with flatpak-vscode not host/layered-vscode.
Here is the post in Universal Blue, for my Bluefin-DX derivative: Distrobox to layered-vscode integration - login as ${USER} - [Solved] - General - Universal Blue
At the beginning I thought the bug was related to Bluefin-DX, but something made me doubt about it. Then, I decided to install Silverblue-40 in my laptop, taking care of installing it as its own boot manager to make it selectable from UEFI.

Can you share the results of Data Science Python + R ? & Jupyter Notebooks ?
Jupyter
[48 ms] Dev Containers 0.362.0 in VS Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685).
[47 ms] Initializing configuration support...
[49 ms] Internal initialization of dev container support package...
[4586 ms] Start: Run: docker version --format {{json .}}
[4605 ms] {"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"26.1.3","ApiVersion":"1.45","DefaultAPIVersion":"1.45","GitCommit":"b72abbb","GoVersion":"go1.21.10","Os":"linux","Arch":"amd64","BuildTime":"Thu May 16 08:35:25 2024","Context":"default"},"Server":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"26.1.3","Details":{"ApiVersion":"1.45","Arch":"amd64","BuildTime":"Thu May 16 08:33:42 2024","Experimental":"false","GitCommit":"8e96db1","GoVersion":"go1.21.10","KernelVersion":"6.8.9-200.fc39.x86_64","MinAPIVersion":"1.24","Os":"linux"}},{"Name":"containerd","Version":"1.6.31","Details":{"GitCommit":"e377cd56a71523140ca6ae87e30244719194a521"}},{"Name":"runc","Version":"1.1.12","Details":{"GitCommit":"v1.1.12-0-g51d5e94"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"26.1.3","ApiVersion":"1.45","MinAPIVersion":"1.24","GitCommit":"8e96db1","GoVersion":"go1.21.10","Os":"linux","Arch":"amd64","KernelVersion":"6.8.9-200.fc39.x86_64","BuildTime":"2024-05-16T08:33:42.000000000+00:00"}}
[4609 ms] Start: Run: docker pull alpine:3.16.3
[11835 ms] Start: Run: docker volume ls -q
[17907 ms] Start: Run: docker volume create --label dev.container.volume=true jupyter-datascience-notebooks-2
[17941 ms] Start: Run: docker run -d --mount type=volume,src=jupyter-datascience-notebooks-2,dst=/workspaces alpine:3.16.3 sleep infinity
[18404 ms] Preparing to apply Template 'ghcr.io/devcontainers-community/templates/jupyter-datascience-notebooks:latest'
[18405 ms] Running Dev Containers CLI: templates apply --workspace-folder /tmp/tmp-output-dir-1716252757624 --template-id ghcr.io/devcontainers-community/templates/jupyter-datascience-notebooks:latest --template-args {} --features [] --tmp-dir /tmp/tmp-dir-1716252757624 --log-level debug
[18406 ms] Start: Run: /usr/share/code/code /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js templates apply --workspace-folder /tmp/tmp-output-dir-1716252757624 --template-id ghcr.io/devcontainers-community/templates/jupyter-datascience-notebooks:latest --template-args {} --features [] --tmp-dir /tmp/tmp-dir-1716252757624 --log-level debug
[18567 ms] [2024-05-21T00:52:37.787Z] @devcontainers/cli 0.59.1. Node.js v18.18.2. linux 6.8.9-200.fc39.x86_64 x64.
[18573 ms] [2024-05-21T00:52:37.792Z] Loading 143 extra certificates from /etc/ssl/certs/ca-certificates.crt.
[22977 ms] /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9
[22977 ms] `).reduce(p8,Object.create(null)),p8=(e,A)=>{let t=parseInt(A,10);if(t!==Buffer.byteLength(A)+1)return e;A=A.slice((t+" ").length);let i=A.split("="),r=i.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!r)return e;let n=i.join("=");return e[r]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(r)?new Date(n*1e3):/^[0-9]+$/.test(n)?+n:n,e};uR.exports=cI});var gg=L((JsA,QR)=>{QR.exports=e=>{let A=e.length-1,t=-1;for(;A>-1&&e.charAt(A)==="/";)t=A,A--;return t===-1?e:e.slice(0,t)}});var BE=L((KsA,cR)=>{"use strict";cR.exports=e=>class extends e{warn(A,t,i={}){this.file&&(i.file=this.file),this.cwd&&(i.cwd=this.cwd),i.code=t instanceof Error&&t.code||A,i.tarCode=A,!this.strict&&i.recoverable!==!1?(t instanceof 0):X(!1)})}function J(H){return t.stopOnError?r(H):(!B&&t.errs?B=Ht.createWriteStream(t.errs):B||(B=[]),typeof B.write>"u"?B.push(H):B.write(H.stack+`
[22978 ms] TypeError: Cannot read properties of undefined (reading '0')
[22978 ms] at /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:40696
[22978 ms] at Array.every (<anonymous>)
[22978 ms] at n (/var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:40686)
[22978 ms] at o (/var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:40767)
[22978 ms] at /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:41194
[22978 ms] at Set.forEach (<anonymous>)
[22978 ms] at s (/var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:41183)
[22978 ms] at /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:40791
[22978 ms] at i (/var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:48834)
[22978 ms] at /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js:9:49906
[22978 ms] Node.js v18.18.2
[22981 ms] Exit code 1
[202518 ms] Start: Run: docker rm -f b7d9130402e75c71b1e68b31bda1bfcd1c6b0c922bf44ba04f41162e01575edb
Data Science with Python and R
[35 ms] Dev Containers 0.362.0 in VS Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685).
[35 ms] Initializing configuration support...
[36 ms] Internal initialization of dev container support package...
[2402 ms] Start: Run: docker version --format {{json .}}
[2417 ms] {"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"26.1.3","ApiVersion":"1.45","DefaultAPIVersion":"1.45","GitCommit":"b72abbb","GoVersion":"go1.21.10","Os":"linux","Arch":"amd64","BuildTime":"Thu May 16 08:35:25 2024","Context":"default"},"Server":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"26.1.3","Details":{"ApiVersion":"1.45","Arch":"amd64","BuildTime":"Thu May 16 08:33:42 2024","Experimental":"false","GitCommit":"8e96db1","GoVersion":"go1.21.10","KernelVersion":"6.8.9-200.fc39.x86_64","MinAPIVersion":"1.24","Os":"linux"}},{"Name":"containerd","Version":"1.6.31","Details":{"GitCommit":"e377cd56a71523140ca6ae87e30244719194a521"}},{"Name":"runc","Version":"1.1.12","Details":{"GitCommit":"v1.1.12-0-g51d5e94"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"26.1.3","ApiVersion":"1.45","MinAPIVersion":"1.24","GitCommit":"8e96db1","GoVersion":"go1.21.10","Os":"linux","Arch":"amd64","KernelVersion":"6.8.9-200.fc39.x86_64","BuildTime":"2024-05-16T08:33:42.000000000+00:00"}}
[2421 ms] Start: Run: docker pull alpine:3.16.3
[4173 ms] Start: Run: docker volume ls -q
[15558 ms] Start: Run: docker volume create --label dev.container.volume=true datascience-python-r-2
[15593 ms] Start: Run: docker run -d --mount type=volume,src=datascience-python-r-2,dst=/workspaces alpine:3.16.3 sleep infinity
[16065 ms] Preparing to apply Template 'ghcr.io/microsoft/datascience-py-r/datascience-python-r:latest'
[16067 ms] Running Dev Containers CLI: templates apply --workspace-folder /tmp/tmp-output-dir-1716252709311 --template-id ghcr.io/microsoft/datascience-py-r/datascience-python-r:latest --template-args {} --features [] --tmp-dir /tmp/tmp-dir-1716252709311 --log-level debug
[16068 ms] Start: Run: /usr/share/code/code /var/home/superuser/.vscode/extensions/ms-vscode-remote.remote-containers-0.362.0/dist/spec-node/devContainersSpecCLI.js templates apply --workspace-folder /tmp/tmp-output-dir-1716252709311 --template-id ghcr.io/microsoft/datascience-py-r/datascience-python-r:latest --template-args {} --features [] --tmp-dir /tmp/tmp-dir-1716252709311 --log-level debug
[16232 ms] [2024-05-21T00:51:49.477Z] @devcontainers/cli 0.59.1. Node.js v18.18.2. linux 6.8.9-200.fc39.x86_64 x64.
[16238 ms] [2024-05-21T00:51:49.483Z] Loading 143 extra certificates from /etc/ssl/certs/ca-certificates.crt.
[24020 ms] [Error: EACCES: permission denied, open '/tmp/tmp-output-dir-1716252709311/.git/objects/0a/50104a2a92c3264e5aceb4680e1335ea290c4f'] {
[24021 ms] errno: -13,
[24021 ms] code: 'EACCES',
[24021 ms] syscall: 'open',
[24021 ms] path: '/tmp/tmp-output-dir-1716252709311/.git/objects/0a/50104a2a92c3264e5aceb4680e1335ea290c4f'
[24021 ms] }
[24026 ms] Start: Run: docker rm -f a4b331fad5328cd87ac9fb2b70399960e9136f8f6281052c8fcda79fe471a97c
Added f40
Added rpm-ostree