input-output-hk / plutus-pioneer-program

This repository hosts the lectures of the Plutus Pioneers Program. This program is a training course that the IOG Education Team provides to recruit and train software developers in Plutus, the native smart contract language for the Cardano ecosystem.
1.39k stars 987 forks source link

devcontainer vscode setup for docker fails to launch #110

Closed nareto closed 1 year ago

nareto commented 1 year ago

Hello, trying to set up local dev environment as explained in Lecture 1 (i.e. clicking "Reopen in Container" after opening the root directory in vscode). However the container fails with this error:

[2023-03-17T10:20:05.788Z] [+] Running 5/5
 ⠿ Network plutus-pioneer-program_devcontainer_default           Created   0.1s
 ⠿ Volume "plutus-pioneer-program_devcontainer_node-db"          Created   0.0s
 ⠿ Volume "plutus-pioneer-program_devcontainer_node-ipc"         Created   0.0s
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Started   1.6s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Started   1.5s
[2023-03-17T10:20:05.798Z] Stop (522482 ms): Run: docker events --format {{json .}} --filter event=start
[2023-03-17T10:20:06.006Z] Stop (511391 ms): Run: docker-compose --project-name plutus-pioneer-program_devcontainer -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml -f /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1679047894543.yml up -d
[2023-03-17T10:20:06.007Z] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-17T10:20:06.352Z] Stop (345 ms): Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-17T10:20:06.355Z] Start: Run: docker inspect --type container a2c409479d96
[2023-03-17T10:20:06.507Z] Stop (152 ms): Run: docker inspect --type container a2c409479d96
[2023-03-17T10:20:06.508Z] Start: Inspecting container
[2023-03-17T10:20:06.511Z] Start: Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:06.798Z] Stop (287 ms): Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:06.798Z] Stop (290 ms): Inspecting container
[2023-03-17T10:20:06.800Z] Start: Run in container: /bin/sh
[2023-03-17T10:20:06.833Z] Start: Run in container: uname -m
[2023-03-17T10:20:07.389Z] x86_64
[2023-03-17T10:20:07.389Z] 
[2023-03-17T10:20:07.389Z] Stop (556 ms): Run in container: uname -m
[2023-03-17T10:20:07.389Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-17T10:20:07.411Z] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[2023-03-17T10:20:07.411Z] 
[2023-03-17T10:20:07.411Z] Stop (22 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-17T10:20:07.411Z] Start: Run in container: cat /etc/passwd
[2023-03-17T10:20:07.414Z] Stop (3 ms): Run in container: cat /etc/passwd
[2023-03-17T10:20:07.415Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-03-17T10:20:07.424Z] 
[2023-03-17T10:20:07.424Z] 
[2023-03-17T10:20:07.424Z] Exit code 1
[2023-03-17T10:20:07.424Z] Stop (9 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-03-17T10:20:07.425Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[2023-03-17T10:20:07.457Z] 
[2023-03-17T10:20:07.457Z] 
[2023-03-17T10:20:07.457Z] Stop (32 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[2023-03-17T10:20:07.457Z] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[2023-03-17T10:20:07.472Z] 
[2023-03-17T10:20:07.472Z] 
[2023-03-17T10:20:07.472Z] Stop (15 ms): Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[2023-03-17T10:20:07.472Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-03-17T10:20:07.477Z] 
[2023-03-17T10:20:07.478Z] 
[2023-03-17T10:20:07.478Z] Exit code 1
[2023-03-17T10:20:07.478Z] Stop (6 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-03-17T10:20:07.478Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[2023-03-17T10:20:07.485Z] 
[2023-03-17T10:20:07.485Z] 
[2023-03-17T10:20:07.485Z] Stop (7 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[2023-03-17T10:20:07.486Z] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[2023-03-17T10:20:07.510Z] 
[2023-03-17T10:20:07.510Z] 
[2023-03-17T10:20:07.510Z] Stop (24 ms): Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[2023-03-17T10:20:07.510Z] Stop (524491 ms): Resolving Remote
[2023-03-17T10:20:07.550Z] Stop (525375 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-someValue.sessionId_1679047880328 --workspace-folder /home/bnh/code/plutus-pioneer-program --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-03-17T10:20:07.551Z] Start: Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:07.915Z] Stop (364 ms): Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:07.917Z] Start: Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7 --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-03-17T10:20:08.916Z] (node:435216) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-03-17T10:20:08.917Z] (Use `electron --trace-deprecation ...` to show where the warning was created)
[2023-03-17T10:20:08.938Z] @devcontainers/cli 0.31.0. Node.js v16.14.2. linux 6.1.15-1-lts x64.
[2023-03-17T10:20:08.937Z] Start: Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:09.128Z] Stop (191 ms): Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:09.166Z] Stop (1249 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7 --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-03-17T10:20:09.176Z] Start: Run: docker-compose version --short
[2023-03-17T10:20:09.326Z] Stop (150 ms): Run: docker-compose version --short
[2023-03-17T10:20:09.329Z] Start: Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7 --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-03-17T10:20:09.851Z] (node:435251) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-03-17T10:20:09.851Z] (Use `electron --trace-deprecation ...` to show where the warning was created)
[2023-03-17T10:20:09.861Z] @devcontainers/cli 0.31.0. Node.js v16.14.2. linux 6.1.15-1-lts x64.
[2023-03-17T10:20:09.860Z] Start: Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:10.031Z] Stop (171 ms): Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:10.093Z] Stop (764 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7 --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-03-17T10:20:10.094Z] Start: Inspecting container
[2023-03-17T10:20:10.094Z] Start: Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:10.226Z] Stop (132 ms): Run: docker inspect --type container a2c409479d96efa3060163ed007509edca6840119ca80d2db20c61886e8c5bb7
[2023-03-17T10:20:10.227Z] Stop (133 ms): Inspecting container
[2023-03-17T10:20:10.229Z] Start: Run in container: /bin/sh
[2023-03-17T10:20:10.242Z] Start: Run in container: uname -m
[2023-03-17T10:20:10.491Z] x86_64
[2023-03-17T10:20:10.492Z] 
[2023-03-17T10:20:10.492Z] Stop (250 ms): Run in container: uname -m
[2023-03-17T10:20:10.492Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-17T10:20:10.497Z] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[2023-03-17T10:20:10.497Z] 
[2023-03-17T10:20:10.497Z] Stop (5 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-17T10:20:10.498Z] Start: Run in container: cat /etc/passwd
[2023-03-17T10:20:10.501Z] Stop (3 ms): Run in container: cat /etc/passwd
[2023-03-17T10:20:10.503Z] Start: Setup shutdown monitor
[2023-03-17T10:20:10.504Z] Forking shutdown monitor: /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-3d136bfd-1b09-4d5d-8cb8-5c6006661c27.sock dockerCompose Debug /home/bnh/.config/Code - OSS/logs/20230306T193314/window10/exthost/ms-vscode-remote.remote-containers 1679047880143
[2023-03-17T10:20:10.540Z] Stop (37 ms): Setup shutdown monitor
[2023-03-17T10:20:10.541Z] Start: Run in container: test -d /root/.vscode-server-oss
[2023-03-17T10:20:10.544Z] 
[2023-03-17T10:20:10.544Z] 
[2023-03-17T10:20:10.546Z] Exit code 1
[2023-03-17T10:20:10.552Z] Stop (11 ms): Run in container: test -d /root/.vscode-server-oss
[2023-03-17T10:20:10.553Z] Start: Run in container: test -d /root/.vscode-remote
[2023-03-17T10:20:10.573Z] 
[2023-03-17T10:20:10.573Z] 
[2023-03-17T10:20:10.573Z] Exit code 1
[2023-03-17T10:20:10.573Z] Stop (20 ms): Run in container: test -d /root/.vscode-remote
[2023-03-17T10:20:10.574Z] Start: Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-03-17T10:20:10.585Z] 
[2023-03-17T10:20:10.586Z] 
[2023-03-17T10:20:10.589Z] Stop (15 ms): Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-03-17T10:20:10.589Z] Start: Run in container: mkdir -p '/root/.vscode-server-oss/data/Machine' && cat >'/root/.vscode-server-oss/data/Machine/settings.json' <<'settingsJSON'
[2023-03-17T10:20:10.596Z] 
[2023-03-17T10:20:10.596Z] 
[2023-03-17T10:20:10.596Z] Stop (7 ms): Run in container: mkdir -p '/root/.vscode-server-oss/data/Machine' && cat >'/root/.vscode-server-oss/data/Machine/settings.json' <<'settingsJSON'
[2023-03-17T10:20:10.597Z] Start: Run in container: test -d /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb
[2023-03-17T10:20:10.598Z] 
[2023-03-17T10:20:10.598Z] 
[2023-03-17T10:20:10.599Z] Exit code 1
[2023-03-17T10:20:10.599Z] Stop (2 ms): Run in container: test -d /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb
[2023-03-17T10:20:10.599Z] Start: Run in container: test -d /vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb
[2023-03-17T10:20:10.607Z] 
[2023-03-17T10:20:10.607Z] 
[2023-03-17T10:20:10.607Z] Stop (8 ms): Run in container: test -d /vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb
[2023-03-17T10:20:10.607Z] Start: Run in container: mkdir -p '/root/.vscode-server-oss/bin' && ln -snf '/vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb' '/root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb'
[2023-03-17T10:20:10.623Z] 
[2023-03-17T10:20:10.624Z] 
[2023-03-17T10:20:10.624Z] Stop (17 ms): Run in container: mkdir -p '/root/.vscode-server-oss/bin' && ln -snf '/vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb' '/root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb'
[2023-03-17T10:20:10.624Z] Start: Run in container: touch '/vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb'
[2023-03-17T10:20:10.625Z] Start: Launching Dev Containers helper.
[2023-03-17T10:20:10.625Z] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-d4757a82-6117-4c34-8abd-eeb17e4c0f17.sock) forwarded to local host (/tmp/ssh-XXXXXXWiUWTs/agent.1724).
[2023-03-17T10:20:10.632Z] 
[2023-03-17T10:20:10.632Z] 
[2023-03-17T10:20:10.632Z] Stop (8 ms): Run in container: touch '/vscode/vscode-server-oss/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb'
[2023-03-17T10:20:10.632Z] Start: Run in container: test -e /tmp/.X11-unix/X0
[2023-03-17T10:20:10.646Z] 
[2023-03-17T10:20:10.646Z] 
[2023-03-17T10:20:10.646Z] Exit code 1
[2023-03-17T10:20:10.646Z] Stop (14 ms): Run in container: test -e /tmp/.X11-unix/X0
[2023-03-17T10:20:10.646Z] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2023-03-17T10:20:10.651Z] 
[2023-03-17T10:20:10.651Z] 
[2023-03-17T10:20:10.651Z] Stop (5 ms): Run in container: mkdir -p '/tmp/.X11-unix'
[2023-03-17T10:20:10.651Z] X11 forwarding: DISPLAY in container (:0) forwarded to local host (:0).
[2023-03-17T10:20:10.652Z] Start: Run: gpgconf --list-dir agent-extra-socket
[2023-03-17T10:20:10.671Z] Stop (19 ms): Run: gpgconf --list-dir agent-extra-socket
[2023-03-17T10:20:10.672Z] /run/user/1000/gnupg/S.gpg-agent.extra
[2023-03-17T10:20:10.672Z] 
[2023-03-17T10:20:10.673Z] Start: Run in container: gpgconf --list-dir agent-socket
[2023-03-17T10:20:10.684Z] /root/.gnupg/S.gpg-agent
[2023-03-17T10:20:10.684Z] 
[2023-03-17T10:20:10.684Z] Stop (11 ms): Run in container: gpgconf --list-dir agent-socket
[2023-03-17T10:20:10.685Z] Start: Run in container: gpgconf --list-dir homedir
[2023-03-17T10:20:10.688Z] /root/.gnupg
[2023-03-17T10:20:10.689Z] 
[2023-03-17T10:20:10.689Z] Stop (4 ms): Run in container: gpgconf --list-dir homedir
[2023-03-17T10:20:10.689Z] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-03-17T10:20:10.713Z] 
[2023-03-17T10:20:10.713Z] 
[2023-03-17T10:20:10.713Z] Exit code 2
[2023-03-17T10:20:10.713Z] Stop (24 ms): Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-03-17T10:20:10.714Z] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[2023-03-17T10:20:10.717Z] 
[2023-03-17T10:20:10.717Z] 
[2023-03-17T10:20:10.717Z] Stop (3 ms): Run in container: mkdir -p -m 700 '/root/.gnupg'
[2023-03-17T10:20:10.717Z] Start: Run in container: command -v docker >/dev/null 2>&1
[2023-03-17T10:20:10.717Z] Start: Run: gpgconf --list-dir homedir
[2023-03-17T10:20:10.731Z] Stop (14 ms): Run: gpgconf --list-dir homedir
[2023-03-17T10:20:10.731Z] /home/bnh/.gnupg
[2023-03-17T10:20:10.731Z] 
[2023-03-17T10:20:10.737Z] 
[2023-03-17T10:20:10.737Z] 
[2023-03-17T10:20:10.738Z] Exit code 127
[2023-03-17T10:20:10.738Z] Stop (21 ms): Run in container: command -v docker >/dev/null 2>&1
[2023-03-17T10:20:10.738Z] Start: Run in container: gpgconf --list-dir homedir
[2023-03-17T10:20:10.742Z] Start: Run in container: /bin/sh
[2023-03-17T10:20:10.743Z] Stop (118 ms): Launching Dev Containers helper.
[2023-03-17T10:20:10.751Z] userEnvProbe: loginInteractiveShell (default)
[2023-03-17T10:20:10.753Z] Start: Run in container: echo ~
[2023-03-17T10:20:10.754Z] /root/.gnupg
[2023-03-17T10:20:10.754Z] 
[2023-03-17T10:20:10.754Z] Stop (16 ms): Run in container: gpgconf --list-dir homedir
[2023-03-17T10:20:10.755Z] Start: Run in container: test -f '/tmp/devcontainers-someValue.sessionId_1679047880328/env-loginInteractiveShell.json'
[2023-03-17T10:20:10.756Z] 
[2023-03-17T10:20:10.757Z] 
[2023-03-17T10:20:10.757Z] Exit code 1
[2023-03-17T10:20:10.757Z] Stop (2 ms): Run in container: test -f '/tmp/devcontainers-someValue.sessionId_1679047880328/env-loginInteractiveShell.json'
[2023-03-17T10:20:10.757Z] userEnvProbe: not found in cache
[2023-03-17T10:20:10.758Z] userEnvProbe shell: /bin/bash
[2023-03-17T10:20:10.760Z] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[2023-03-17T10:20:10.770Z] 
[2023-03-17T10:20:10.771Z] 
[2023-03-17T10:20:10.771Z] Stop (11 ms): Run in container: # Test for /root/.ssh/known_hosts and ssh
[2023-03-17T10:20:10.772Z] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[2023-03-17T10:20:10.781Z] 
[2023-03-17T10:20:10.781Z] 
[2023-03-17T10:20:10.781Z] Stop (9 ms): Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[2023-03-17T10:20:10.782Z] Start: Run in container: # Copy /home/bnh/.ssh/known_hosts to /root/.ssh/known_hosts
[2023-03-17T10:20:10.816Z] 
[2023-03-17T10:20:10.816Z] 
[2023-03-17T10:20:10.816Z] Stop (34 ms): Run in container: # Copy /home/bnh/.ssh/known_hosts to /root/.ssh/known_hosts
[2023-03-17T10:20:10.816Z] Start: Run in container: # Copy /home/bnh/.gnupg/pubring.kbx to /root/.gnupg/pubring.kbx
[2023-03-17T10:20:10.847Z] 
[2023-03-17T10:20:10.847Z] 
[2023-03-17T10:20:10.847Z] Stop (31 ms): Run in container: # Copy /home/bnh/.gnupg/pubring.kbx to /root/.gnupg/pubring.kbx
[2023-03-17T10:20:10.847Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/node /tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js git-credential-helper $*; }; f' || true
[2023-03-17T10:20:10.987Z] 
[2023-03-17T10:20:10.988Z] 
[2023-03-17T10:20:10.988Z] Stop (141 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/node /tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js git-credential-helper $*; }; f' || true
[2023-03-17T10:20:10.988Z] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[2023-03-17T10:20:11.030Z] 
[2023-03-17T10:20:11.030Z] 
[2023-03-17T10:20:11.030Z] Stop (42 ms): Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[2023-03-17T10:20:11.030Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-03-17T10:20:11.124Z] /root
[2023-03-17T10:20:11.124Z] 
[2023-03-17T10:20:11.124Z] Stop (371 ms): Run in container: echo ~
[2023-03-17T10:20:11.124Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js' >/tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js
[2023-03-17T10:20:11.125Z] Stop (95 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-03-17T10:20:11.125Z] Start: Run in container: # Copy /home/bnh/.gnupg/trustdb.gpg to /root/.gnupg/trustdb.gpg
[2023-03-17T10:20:11.137Z] 
[2023-03-17T10:20:11.137Z] 
[2023-03-17T10:20:11.137Z] Stop (13 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js' >/tmp/vscode-remote-containers-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js
[2023-03-17T10:20:11.137Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js' >/tmp/vscode-remote-containers-server-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js_1679048411137
[2023-03-17T10:20:11.144Z] 
[2023-03-17T10:20:11.144Z] 
[2023-03-17T10:20:11.144Z] Stop (19 ms): Run in container: # Copy /home/bnh/.gnupg/trustdb.gpg to /root/.gnupg/trustdb.gpg
[2023-03-17T10:20:11.144Z] Start: Run in container: cat '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb' 2>/dev/null || (umask 377 && echo '7ee35432-556b-4775-9343-385c88e389cb' >'/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' && mv -n '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb' && rm -f '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' && cat '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb')
[2023-03-17T10:20:11.149Z] Start: Run: gpg-connect-agent updatestartuptty /bye
[2023-03-17T10:20:11.194Z] 
[2023-03-17T10:20:11.194Z] 
[2023-03-17T10:20:11.195Z] Stop (58 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js' >/tmp/vscode-remote-containers-server-d4757a82-6117-4c34-8abd-eeb17e4c0f17.js_1679048411137
[2023-03-17T10:20:11.210Z] 7ee35432-556b-4775-9343-385c88e389cb
[2023-03-17T10:20:11.210Z] 
[2023-03-17T10:20:11.211Z] Stop (67 ms): Run in container: cat '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb' 2>/dev/null || (umask 377 && echo '7ee35432-556b-4775-9343-385c88e389cb' >'/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' && mv -n '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb' && rm -f '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb-6822d73f-cbe6-444f-bcdb-2279025268aa' && cat '/root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb')
[2023-03-17T10:20:11.211Z] Start: Starting VS Code Server
[2023-03-17T10:20:11.212Z] Start: Preparing Extensions
[2023-03-17T10:20:11.212Z] Start: Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[2023-03-17T10:20:11.221Z] Stop (72 ms): Run: gpg-connect-agent updatestartuptty /bye
[2023-03-17T10:20:11.222Z] 
[2023-03-17T10:20:11.222Z] 
[2023-03-17T10:20:11.223Z] Stop (11 ms): Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[2023-03-17T10:20:11.229Z] Extensions cache, install extensions: haskell.haskell, vigoo.stylish-haskell
[2023-03-17T10:20:11.229Z] Start: Run in container: test -d /root/.vscode-server-oss/extensionsCache && ls /root/.vscode-server-oss/extensionsCache || true
[2023-03-17T10:20:11.245Z] 
[2023-03-17T10:20:11.245Z] 
[2023-03-17T10:20:11.246Z] Stop (17 ms): Run in container: test -d /root/.vscode-server-oss/extensionsCache && ls /root/.vscode-server-oss/extensionsCache || true
[2023-03-17T10:20:11.246Z] Start: Run in container: test -d /vscode/vscode-server-oss/extensionsCache && ls /vscode/vscode-server-oss/extensionsCache || true
[2023-03-17T10:20:11.249Z] 
[2023-03-17T10:20:11.249Z] 
[2023-03-17T10:20:11.251Z] Stop (5 ms): Run in container: test -d /vscode/vscode-server-oss/extensionsCache && ls /vscode/vscode-server-oss/extensionsCache || true
[2023-03-17T10:20:11.252Z] Extensions cache, link in container: None
[2023-03-17T10:20:11.254Z] Stop (42 ms): Preparing Extensions
[2023-03-17T10:20:11.254Z] Start: Run in container: /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-17T10:20:11.499Z] OCI runtime exec failed: exec failed: unable to start container process: exec: "/root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss": stat /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss: no such file or directory: unknown
[2023-03-17T10:20:11.510Z] Stop (256 ms): Run in container: /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-17T10:20:11.512Z] Command failed: /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-92da9481c0904c6adfe372c12da3b7748d74bdcb --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-17T10:20:11.512Z] OCI runtime exec failed: exec failed: unable to start container process: exec: "/root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss": stat /root/.vscode-server-oss/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/code-server-oss: no such file or directory: unknown
[2023-03-17T10:20:11.513Z] Exit code 126
[2023-03-17T10:20:12.899Z] userEnvProbe PATHs:
Probe:     '/root/.nvm/versions/node/v16.13.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.ghcup/bin:/root/.cabal/bin'
Container: '/root/.nvm/versions/node/v16.13.0/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.ghcup/bin'
[2023-03-17T10:20:12.900Z] Start: Run in container: mkdir -p '/tmp/devcontainers-someValue.sessionId_1679047880328' && cat > '/tmp/devcontainers-someValue.sessionId_1679047880328/env-loginInteractiveShell.json' << 'envJSON'
[2023-03-17T10:20:12.914Z] 
[2023-03-17T10:20:12.914Z] 
[2023-03-17T10:20:12.914Z] Stop (14 ms): Run in container: mkdir -p '/tmp/devcontainers-someValue.sessionId_1679047880328' && cat > '/tmp/devcontainers-someValue.sessionId_1679047880328/env-loginInteractiveShell.json' << 'envJSON'

any ideas what the cause could be?

rober-m commented 1 year ago

Could you make sure you have the latest version of the repo, delete your current images, and try again? (Also, please, check that you have Docker Desktop (not just Docker Engine) and the latest version of VSCode.)

nareto commented 1 year ago

Vscode is latest version 1.76.2. Just pulled the new changes, deleted the images, installed buildx (which was missing) but I still get the below error. According to archwiki docker desktop conflicts with docker-compose, which I need for other stuff... I'll try it out later anyways, but I'd rather having it work with docker engine

[2023-03-18T11:30:31.054Z] Dev Containers 0.282.0 in VS Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884).
[2023-03-18T11:30:31.054Z] Start: Resolving Remote
[2023-03-18T11:30:31.133Z] Setting up container for folder or workspace: /home/bnh/code/plutus-pioneer-program
[2023-03-18T11:30:31.138Z] Start: Check Docker is running
[2023-03-18T11:30:31.138Z] Start: Run: docker version --format {{.Server.APIVersion}}
[2023-03-18T11:30:31.363Z] Stop (225 ms): Run: docker version --format {{.Server.APIVersion}}
[2023-03-18T11:30:31.363Z] Server API version: 1.42
[2023-03-18T11:30:31.364Z] Stop (226 ms): Check Docker is running
[2023-03-18T11:30:31.365Z] Start: Run: docker volume ls -q
[2023-03-18T11:30:31.510Z] Stop (145 ms): Run: docker volume ls -q
[2023-03-18T11:30:31.511Z] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/home/bnh/code/plutus-pioneer-program --filter label=vsch.quality=stable
[2023-03-18T11:30:31.585Z] Stop (74 ms): Run: docker ps -q -a --filter label=vsch.local.folder=/home/bnh/code/plutus-pioneer-program --filter label=vsch.quality=stable
[2023-03-18T11:30:31.586Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --filter label=devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json
[2023-03-18T11:30:31.658Z] Stop (72 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --filter label=devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json
[2023-03-18T11:30:31.658Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program
[2023-03-18T11:30:31.742Z] Stop (84 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program
[2023-03-18T11:30:31.743Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program
[2023-03-18T11:30:31.848Z] Stop (105 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program
[2023-03-18T11:30:31.849Z] Start: Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-someValue.sessionId_1679139031135 --workspace-folder /home/bnh/code/plutus-pioneer-program --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-03-18T11:30:32.251Z] (node:589172) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-03-18T11:30:32.251Z] (Use `electron --trace-deprecation ...` to show where the warning was created)
[2023-03-18T11:30:32.252Z] @devcontainers/cli 0.31.0. Node.js v16.14.2. linux 6.1.15-1-lts x64.
[2023-03-18T11:30:32.252Z] Start: Run: docker buildx version
[2023-03-18T11:30:32.392Z] Stop (140 ms): Run: docker buildx version
[2023-03-18T11:30:32.392Z] github.com/docker/buildx 0.10.3 79e156beb11f697f06ac67fa1fb958e4762c0fab
[2023-03-18T11:30:32.393Z] 
[2023-03-18T11:30:32.393Z] Start: Resolving Remote
[2023-03-18T11:30:32.398Z] Start: Run: docker-compose version --short
[2023-03-18T11:30:32.443Z] Stop (45 ms): Run: docker-compose version --short
[2023-03-18T11:30:32.443Z] Docker Compose version: 2.16.0
[2023-03-18T11:30:32.444Z] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-18T11:30:32.595Z] Stop (151 ms): Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-18T11:30:32.597Z] Start: Run: docker-compose -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml --profile * config
[2023-03-18T11:30:32.743Z] Stop (146 ms): Run: docker-compose -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml --profile * config
[2023-03-18T11:30:32.743Z] name: devcontainer
services:
  cardano-node:
    environment:
      NETWORK: preview
    image: robertinoiog/cardano-node:1.35.5-v3
    logging:
      driver: json-file
      options:
        max-file: "10"
        max-size: 200k
    networks:
      default: null
    volumes:
    - type: volume
      source: node-db
      target: /data/db
      volume: {}
    - type: volume
      source: node-ipc
      target: /ipc
      volume: {}
  ppp:
    command:
    - /bin/sh
    - -c
    - while sleep 1000; do :; done
    environment:
      NETWORK: preview
    image: robertinoiog/plutus-pioneer-program-4:v3
    logging:
      driver: json-file
      options:
        max-file: "10"
        max-size: 200k
    networks:
      default: null
    volumes:
    - type: bind
      source: /home/bnh/code/plutus-pioneer-program
      target: /workspace
      bind:
        create_host_path: true
    - type: volume
      source: node-ipc
      target: /root/.cardano/preview
      volume: {}
networks:
  default:
    name: devcontainer_default
volumes:
  node-db:
    name: devcontainer_node-db
  node-ipc:
    name: devcontainer_node-ipc
[2023-03-18T11:30:32.748Z] Start: Run: docker -v
[2023-03-18T11:30:32.888Z] Stop (140 ms): Run: docker -v
[2023-03-18T11:30:32.888Z] Start: Run: docker events --format {{json .}} --filter event=start
[2023-03-18T11:30:32.895Z] PersistedPath=/home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data, ContainerHasLabels=false
[2023-03-18T11:30:32.896Z] Start: Run: docker-compose -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml --profile * config
[2023-03-18T11:30:32.940Z] Stop (44 ms): Run: docker-compose -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml --profile * config
[2023-03-18T11:30:32.940Z] name: devcontainer
services:
  cardano-node:
    environment:
      NETWORK: preview
    image: robertinoiog/cardano-node:1.35.5-v3
    logging:
      driver: json-file
      options:
        max-file: "10"
        max-size: 200k
    networks:
      default: null
    volumes:
    - type: volume
      source: node-db
      target: /data/db
      volume: {}
    - type: volume
      source: node-ipc
      target: /ipc
      volume: {}
  ppp:
    command:
    - /bin/sh
    - -c
    - while sleep 1000; do :; done
    environment:
      NETWORK: preview
    image: robertinoiog/plutus-pioneer-program-4:v3
    logging:
      driver: json-file
      options:
        max-file: "10"
        max-size: 200k
    networks:
      default: null
    volumes:
    - type: bind
      source: /home/bnh/code/plutus-pioneer-program
      target: /workspace
      bind:
        create_host_path: true
    - type: volume
      source: node-ipc
      target: /root/.cardano/preview
      volume: {}
networks:
  default:
    name: devcontainer_default
volumes:
  node-db:
    name: devcontainer_node-db
  node-ipc:
    name: devcontainer_node-ipc
[2023-03-18T11:30:32.941Z] Start: Run: docker inspect --type image robertinoiog/plutus-pioneer-program-4:v3
[2023-03-18T11:30:33.026Z] Stop (85 ms): Run: docker inspect --type image robertinoiog/plutus-pioneer-program-4:v3
[2023-03-18T11:30:34.795Z] local container features stored at: /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/node_modules/vscode-dev-containers/container-features
[2023-03-18T11:30:34.797Z] Start: Run: tar --no-same-owner -x -f -
[2023-03-18T11:30:34.837Z] Stop (40 ms): Run: tar --no-same-owner -x -f -
[2023-03-18T11:30:34.838Z] Start: Run: docker-compose --project-name plutus-pioneer-program_devcontainer -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml build
[2023-03-18T11:30:35.071Z] Stop (233 ms): Run: docker-compose --project-name plutus-pioneer-program_devcontainer -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml build
[2023-03-18T11:30:35.072Z] Start: Run: docker inspect --type image robertinoiog/plutus-pioneer-program-4:v3
[2023-03-18T11:30:35.144Z] Stop (72 ms): Run: docker inspect --type image robertinoiog/plutus-pioneer-program-4:v3
[2023-03-18T11:30:36.912Z] Docker Compose override file for creating container:
version: "3.5"

services:
  'ppp':
    entrypoint: ["/bin/sh", "-c", "echo Container started\n
trap \"exit 0\" 15\n
\n
exec \"$$@\"\n
while sleep 1 & wait $$!; do :; done", "-"]
    labels:
      - 'devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program'
      - 'devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json'
      - 'devcontainer.metadata=[{"customizations":{"vscode":{"extensions":["haskell.haskell","vigoo.stylish-haskell"],"settings":{"haskell.formattingProvider":"stylish-haskell"}}},"shutdownAction":"stopCompose"}]'
    volumes:
      - vscode:/vscode
volumes:
  vscode:
    external: true
[2023-03-18T11:30:36.912Z] Writing docker-compose.devcontainer.containerFeatures-1679139036912.yml to /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose
[2023-03-18T11:30:36.916Z] Start: Run: docker-compose --project-name plutus-pioneer-program_devcontainer -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml -f /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1679139036912.yml up -d
[2023-03-18T11:30:37.074Z] [+] Running 0/0
 ⠙ ppp Pulling                                                             0.1s
 ⠙ cardano-node Pulling                                                    0.1s
...
[2023-03-18T11:37:08.884Z] [+] Running 32/4
[2023-03-18T11:37:08.884Z] 
[2023-03-18T11:37:08.885Z]  ⠿ ppp Pulled                                                            391.9s
[2023-03-18T11:37:08.886Z] 
[2023-03-18T11:37:08.890Z]  ⠿ cardano-node Pulled                                                   141.8s

[2023-03-18T11:37:08.891Z] 
[2023-03-18T11:37:08.964Z] 
[2023-03-18T11:37:08.965Z] [+] Running 0/0
 ⠋ Container plutus-pioneer-program_devcontainer-ppp-1           Creating  0.1s
 ⠋ Container plutus-pioneer-program_devcontainer-cardano-node-1  Creating  0.1s
[2023-03-18T11:37:09.064Z] 
[2023-03-18T11:37:09.065Z] [+] Running 0/2
 ⠙ Container plutus-pioneer-program_devcontainer-ppp-1           Creating  0.2s
 ⠙ Container plutus-pioneer-program_devcontainer-cardano-node-1  Creating  0.2s
[2023-03-18T11:37:09.164Z] 
[2023-03-18T11:37:09.164Z] [+] Running 0/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.3s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.3s
[2023-03-18T11:37:09.264Z] [+] Running 0/2
[2023-03-18T11:37:09.264Z]  ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.4s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.4s
[2023-03-18T11:37:09.364Z] 
[2023-03-18T11:37:09.365Z] [+] Running 0/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.5s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.5s
[2023-03-18T11:37:09.466Z] [+] Running 0/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.6s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.6s
[2023-03-18T11:37:09.564Z] [+] Running 0/2
[2023-03-18T11:37:09.564Z]  ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.7s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.7s
[2023-03-18T11:37:09.664Z] 
[2023-03-18T11:37:09.664Z] [+] Running 0/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.8s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.8s
[2023-03-18T11:37:09.764Z] [+] Running 0/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  0.9s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Starting  0.9s
[2023-03-18T11:37:09.864Z] [+] Running 1/2
[2023-03-18T11:37:09.864Z]  ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Starting  1.0s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Started   0.9s
[2023-03-18T11:37:09.886Z] [+] Running 2/2
 ⠿ Container plutus-pioneer-program_devcontainer-ppp-1           Started   1.0s
 ⠿ Container plutus-pioneer-program_devcontainer-cardano-node-1  Started   0.9s
[2023-03-18T11:37:09.889Z] Stop (397001 ms): Run: docker events --format {{json .}} --filter event=start
[2023-03-18T11:37:10.090Z] Stop (393174 ms): Run: docker-compose --project-name plutus-pioneer-program_devcontainer -f /home/bnh/code/plutus-pioneer-program/.devcontainer/docker-compose.yml -f /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1679139036912.yml up -d
[2023-03-18T11:37:10.091Z] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-18T11:37:10.375Z] Stop (284 ms): Run: docker ps -q -a --filter label=com.docker.compose.project=plutus-pioneer-program_devcontainer --filter label=com.docker.compose.service=ppp
[2023-03-18T11:37:10.375Z] Start: Run: docker inspect --type container 5c104f3ef3be
[2023-03-18T11:37:10.489Z] Stop (114 ms): Run: docker inspect --type container 5c104f3ef3be
[2023-03-18T11:37:10.490Z] Start: Inspecting container
[2023-03-18T11:37:10.491Z] Start: Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:10.603Z] Stop (112 ms): Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:10.603Z] Stop (113 ms): Inspecting container
[2023-03-18T11:37:10.605Z] Start: Run in container: /bin/sh
[2023-03-18T11:37:10.614Z] Start: Run in container: uname -m
[2023-03-18T11:37:10.827Z] x86_64
[2023-03-18T11:37:10.827Z] 
[2023-03-18T11:37:10.827Z] Stop (213 ms): Run in container: uname -m
[2023-03-18T11:37:10.828Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-18T11:37:10.837Z] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[2023-03-18T11:37:10.837Z] 
[2023-03-18T11:37:10.837Z] Stop (9 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-18T11:37:10.838Z] Start: Run in container: cat /etc/passwd
[2023-03-18T11:37:10.841Z] Stop (3 ms): Run in container: cat /etc/passwd
[2023-03-18T11:37:10.842Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-03-18T11:37:10.844Z] 
[2023-03-18T11:37:10.844Z] 
[2023-03-18T11:37:10.844Z] Exit code 1
[2023-03-18T11:37:10.844Z] Stop (2 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-03-18T11:37:10.846Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[2023-03-18T11:37:10.863Z] 
[2023-03-18T11:37:10.863Z] 
[2023-03-18T11:37:10.863Z] Stop (17 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[2023-03-18T11:37:10.863Z] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[2023-03-18T11:37:10.874Z] 
[2023-03-18T11:37:10.874Z] 
[2023-03-18T11:37:10.874Z] Stop (11 ms): Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[2023-03-18T11:37:10.875Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-03-18T11:37:10.877Z] 
[2023-03-18T11:37:10.877Z] 
[2023-03-18T11:37:10.877Z] Exit code 1
[2023-03-18T11:37:10.877Z] Stop (2 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-03-18T11:37:10.877Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[2023-03-18T11:37:10.879Z] 
[2023-03-18T11:37:10.879Z] 
[2023-03-18T11:37:10.879Z] Stop (2 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[2023-03-18T11:37:10.879Z] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[2023-03-18T11:37:10.884Z] 
[2023-03-18T11:37:10.884Z] 
[2023-03-18T11:37:10.884Z] Stop (5 ms): Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[2023-03-18T11:37:10.884Z] Stop (398491 ms): Resolving Remote
[2023-03-18T11:37:10.915Z] Stop (399066 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/bnh/.config/Code - OSS/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-someValue.sessionId_1679139031135 --workspace-folder /home/bnh/code/plutus-pioneer-program --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-03-18T11:37:10.915Z] Start: Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:11.017Z] Stop (102 ms): Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:11.018Z] Start: Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-03-18T11:37:11.486Z] (node:590719) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-03-18T11:37:11.487Z] (Use `electron --trace-deprecation ...` to show where the warning was created)
[2023-03-18T11:37:11.494Z] @devcontainers/cli 0.31.0. Node.js v16.14.2. linux 6.1.15-1-lts x64.
[2023-03-18T11:37:11.494Z] Start: Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:11.617Z] Stop (123 ms): Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:11.630Z] Stop (612 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-03-18T11:37:11.633Z] Start: Run: docker-compose version --short
[2023-03-18T11:37:11.677Z] Stop (44 ms): Run: docker-compose version --short
[2023-03-18T11:37:11.678Z] Start: Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-03-18T11:37:12.116Z] (node:590759) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-03-18T11:37:12.116Z] (Use `electron --trace-deprecation ...` to show where the warning was created)
[2023-03-18T11:37:12.122Z] @devcontainers/cli 0.31.0. Node.js v16.14.2. linux 6.1.15-1-lts x64.
[2023-03-18T11:37:12.122Z] Start: Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:12.214Z] Stop (92 ms): Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:12.227Z] Stop (549 ms): Run: /usr/lib/electron19/electron /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/bnh/code/plutus-pioneer-program --id-label devcontainer.local_folder=/home/bnh/code/plutus-pioneer-program --id-label devcontainer.config_file=/home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --container-id 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d --log-level debug --log-format json --config /home/bnh/code/plutus-pioneer-program/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-03-18T11:37:12.228Z] Start: Inspecting container
[2023-03-18T11:37:12.228Z] Start: Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:12.325Z] Stop (97 ms): Run: docker inspect --type container 5c104f3ef3be3387d6c2b1170f60a5574f083ab0efb3cc28fbf62970f291cd0d
[2023-03-18T11:37:12.325Z] Stop (97 ms): Inspecting container
[2023-03-18T11:37:12.326Z] Start: Run in container: /bin/sh
[2023-03-18T11:37:12.333Z] Start: Run in container: uname -m
[2023-03-18T11:37:12.498Z] x86_64
[2023-03-18T11:37:12.499Z] 
[2023-03-18T11:37:12.499Z] Stop (166 ms): Run in container: uname -m
[2023-03-18T11:37:12.499Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-18T11:37:12.501Z] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[2023-03-18T11:37:12.502Z] 
[2023-03-18T11:37:12.502Z] Stop (3 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-03-18T11:37:12.502Z] Start: Run in container: cat /etc/passwd
[2023-03-18T11:37:12.504Z] Stop (2 ms): Run in container: cat /etc/passwd
[2023-03-18T11:37:12.505Z] Start: Updating configuration state
[2023-03-18T11:37:12.516Z] Stop (11 ms): Updating configuration state
[2023-03-18T11:37:12.516Z] Start: Setup shutdown monitor
[2023-03-18T11:37:12.518Z] Forking shutdown monitor: /home/bnh/.vscode-oss/extensions/ms-vscode-remote.remote-containers-0.282.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-7fd2209b-8b8b-497a-8cca-4577474574b3.sock dockerCompose Debug /home/bnh/.config/Code - OSS/logs/20230318T120641/window4/exthost/ms-vscode-remote.remote-containers 1679139030961
[2023-03-18T11:37:12.548Z] Stop (32 ms): Setup shutdown monitor
[2023-03-18T11:37:12.549Z] Start: Run in container: test -d /root/.vscode-server-oss
[2023-03-18T11:37:12.554Z] 
[2023-03-18T11:37:12.554Z] 
[2023-03-18T11:37:12.555Z] Exit code 1
[2023-03-18T11:37:12.555Z] Stop (6 ms): Run in container: test -d /root/.vscode-server-oss
[2023-03-18T11:37:12.556Z] Start: Run in container: test -d /root/.vscode-remote
[2023-03-18T11:37:12.557Z] 
[2023-03-18T11:37:12.558Z] 
[2023-03-18T11:37:12.558Z] Exit code 1
[2023-03-18T11:37:12.558Z] Stop (2 ms): Run in container: test -d /root/.vscode-remote
[2023-03-18T11:37:12.559Z] Start: Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-03-18T11:37:12.564Z] 
[2023-03-18T11:37:12.564Z] 
[2023-03-18T11:37:12.564Z] Stop (5 ms): Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-03-18T11:37:12.564Z] Start: Run in container: mkdir -p '/root/.vscode-server-oss/data/Machine' && cat >'/root/.vscode-server-oss/data/Machine/settings.json' <<'settingsJSON'
[2023-03-18T11:37:12.573Z] 
[2023-03-18T11:37:12.573Z] 
[2023-03-18T11:37:12.573Z] Stop (9 ms): Run in container: mkdir -p '/root/.vscode-server-oss/data/Machine' && cat >'/root/.vscode-server-oss/data/Machine/settings.json' <<'settingsJSON'
[2023-03-18T11:37:12.574Z] Start: Run in container: test -d /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
[2023-03-18T11:37:12.576Z] 
[2023-03-18T11:37:12.576Z] 
[2023-03-18T11:37:12.576Z] Exit code 1
[2023-03-18T11:37:12.577Z] Stop (3 ms): Run in container: test -d /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
[2023-03-18T11:37:12.577Z] Start: Run in container: test -d /vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
[2023-03-18T11:37:12.579Z] 
[2023-03-18T11:37:12.579Z] 
[2023-03-18T11:37:12.579Z] Stop (2 ms): Run in container: test -d /vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
[2023-03-18T11:37:12.579Z] Start: Run in container: mkdir -p '/root/.vscode-server-oss/bin' && ln -snf '/vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' '/root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884'
[2023-03-18T11:37:12.595Z] 
[2023-03-18T11:37:12.596Z] 
[2023-03-18T11:37:12.596Z] Stop (17 ms): Run in container: mkdir -p '/root/.vscode-server-oss/bin' && ln -snf '/vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' '/root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884'
[2023-03-18T11:37:12.596Z] Start: Run in container: touch '/vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884'
[2023-03-18T11:37:12.598Z] Start: Launching Dev Containers helper.
[2023-03-18T11:37:12.599Z] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.sock) forwarded to local host (/tmp/ssh-XXXXXXWiUWTs/agent.1724).
[2023-03-18T11:37:12.607Z] 
[2023-03-18T11:37:12.607Z] 
[2023-03-18T11:37:12.607Z] Stop (11 ms): Run in container: touch '/vscode/vscode-server-oss/bin/linux-x64/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884'
[2023-03-18T11:37:12.607Z] Start: Run in container: test -e /tmp/.X11-unix/X0
[2023-03-18T11:37:12.612Z] 
[2023-03-18T11:37:12.613Z] 
[2023-03-18T11:37:12.613Z] Exit code 1
[2023-03-18T11:37:12.613Z] Stop (6 ms): Run in container: test -e /tmp/.X11-unix/X0
[2023-03-18T11:37:12.613Z] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2023-03-18T11:37:12.622Z] 
[2023-03-18T11:37:12.622Z] 
[2023-03-18T11:37:12.623Z] Stop (10 ms): Run in container: mkdir -p '/tmp/.X11-unix'
[2023-03-18T11:37:12.623Z] X11 forwarding: DISPLAY in container (:0) forwarded to local host (:0).
[2023-03-18T11:37:12.624Z] Start: Run: gpgconf --list-dir agent-extra-socket
[2023-03-18T11:37:12.661Z] Stop (37 ms): Run: gpgconf --list-dir agent-extra-socket
[2023-03-18T11:37:12.661Z] /run/user/1000/gnupg/S.gpg-agent.extra
[2023-03-18T11:37:12.661Z] 
[2023-03-18T11:37:12.661Z] Start: Run in container: gpgconf --list-dir agent-socket
[2023-03-18T11:37:12.670Z] /root/.gnupg/S.gpg-agent
[2023-03-18T11:37:12.670Z] 
[2023-03-18T11:37:12.671Z] Stop (10 ms): Run in container: gpgconf --list-dir agent-socket
[2023-03-18T11:37:12.671Z] Start: Run in container: gpgconf --list-dir homedir
[2023-03-18T11:37:12.675Z] /root/.gnupg
[2023-03-18T11:37:12.675Z] 
[2023-03-18T11:37:12.676Z] Stop (5 ms): Run in container: gpgconf --list-dir homedir
[2023-03-18T11:37:12.676Z] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-03-18T11:37:12.681Z] 
[2023-03-18T11:37:12.682Z] 
[2023-03-18T11:37:12.682Z] Exit code 2
[2023-03-18T11:37:12.682Z] Stop (6 ms): Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-03-18T11:37:12.682Z] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[2023-03-18T11:37:12.686Z] 
[2023-03-18T11:37:12.686Z] 
[2023-03-18T11:37:12.686Z] Stop (4 ms): Run in container: mkdir -p -m 700 '/root/.gnupg'
[2023-03-18T11:37:12.686Z] Start: Run in container: command -v docker >/dev/null 2>&1
[2023-03-18T11:37:12.690Z] Start: Run: gpgconf --list-dir homedir
[2023-03-18T11:37:12.711Z] 
[2023-03-18T11:37:12.711Z] 
[2023-03-18T11:37:12.711Z] Exit code 127
[2023-03-18T11:37:12.711Z] Stop (25 ms): Run in container: command -v docker >/dev/null 2>&1
[2023-03-18T11:37:12.712Z] Start: Run in container: /bin/sh
[2023-03-18T11:37:12.713Z] Stop (115 ms): Launching Dev Containers helper.
[2023-03-18T11:37:12.727Z] userEnvProbe: loginInteractiveShell (default)
[2023-03-18T11:37:12.728Z] Start: Run in container: test -f '/tmp/devcontainers-someValue.sessionId_1679139031135/env-loginInteractiveShell.json'
[2023-03-18T11:37:12.729Z] Start: Run in container: echo ~
[2023-03-18T11:37:12.731Z] 
[2023-03-18T11:37:12.732Z] 
[2023-03-18T11:37:12.732Z] Exit code 1
[2023-03-18T11:37:12.732Z] Stop (4 ms): Run in container: test -f '/tmp/devcontainers-someValue.sessionId_1679139031135/env-loginInteractiveShell.json'
[2023-03-18T11:37:12.732Z] userEnvProbe: not found in cache
[2023-03-18T11:37:12.741Z] userEnvProbe shell: /bin/bash
[2023-03-18T11:37:12.742Z] Stop (52 ms): Run: gpgconf --list-dir homedir
[2023-03-18T11:37:12.742Z] /home/bnh/.gnupg
[2023-03-18T11:37:12.742Z] 
[2023-03-18T11:37:12.742Z] Start: Run in container: gpgconf --list-dir homedir
[2023-03-18T11:37:12.745Z] /root/.gnupg
[2023-03-18T11:37:12.745Z] 
[2023-03-18T11:37:12.745Z] Stop (3 ms): Run in container: gpgconf --list-dir homedir
[2023-03-18T11:37:12.746Z] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[2023-03-18T11:37:12.749Z] 
[2023-03-18T11:37:12.757Z] 
[2023-03-18T11:37:12.758Z] Stop (12 ms): Run in container: # Test for /root/.ssh/known_hosts and ssh
[2023-03-18T11:37:12.758Z] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[2023-03-18T11:37:12.774Z] 
[2023-03-18T11:37:12.774Z] 
[2023-03-18T11:37:12.774Z] Stop (16 ms): Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[2023-03-18T11:37:12.774Z] Start: Run in container: # Copy /home/bnh/.ssh/known_hosts to /root/.ssh/known_hosts
[2023-03-18T11:37:12.784Z] 
[2023-03-18T11:37:12.784Z] 
[2023-03-18T11:37:12.784Z] Stop (10 ms): Run in container: # Copy /home/bnh/.ssh/known_hosts to /root/.ssh/known_hosts
[2023-03-18T11:37:12.784Z] Start: Run in container: # Copy /home/bnh/.gnupg/pubring.kbx to /root/.gnupg/pubring.kbx
[2023-03-18T11:37:12.798Z] 
[2023-03-18T11:37:12.798Z] 
[2023-03-18T11:37:12.798Z] Stop (14 ms): Run in container: # Copy /home/bnh/.gnupg/pubring.kbx to /root/.gnupg/pubring.kbx
[2023-03-18T11:37:12.799Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/node /tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js git-credential-helper $*; }; f' || true
[2023-03-18T11:37:12.804Z] 
[2023-03-18T11:37:12.804Z] 
[2023-03-18T11:37:12.804Z] Stop (5 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/node /tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js git-credential-helper $*; }; f' || true
[2023-03-18T11:37:12.805Z] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[2023-03-18T11:37:12.814Z] 
[2023-03-18T11:37:12.814Z] 
[2023-03-18T11:37:12.814Z] Stop (9 ms): Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[2023-03-18T11:37:12.815Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-03-18T11:37:12.928Z] Stop (113 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-03-18T11:37:12.929Z] Start: Run in container: # Copy /home/bnh/.gnupg/trustdb.gpg to /root/.gnupg/trustdb.gpg
[2023-03-18T11:37:12.937Z] 
[2023-03-18T11:37:12.937Z] 
[2023-03-18T11:37:12.937Z] Stop (8 ms): Run in container: # Copy /home/bnh/.gnupg/trustdb.gpg to /root/.gnupg/trustdb.gpg
[2023-03-18T11:37:12.937Z] Start: Run in container: cat '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' 2>/dev/null || (umask 377 && echo '8716ea6c-754d-49e3-a946-b10daabd9b96' >'/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' && mv -n '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' && rm -f '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' && cat '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884')
[2023-03-18T11:37:12.938Z] Start: Run: gpg-connect-agent updatestartuptty /bye
[2023-03-18T11:37:12.990Z] 8716ea6c-754d-49e3-a946-b10daabd9b96
[2023-03-18T11:37:12.990Z] 
[2023-03-18T11:37:12.990Z] Stop (53 ms): Run in container: cat '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' 2>/dev/null || (umask 377 && echo '8716ea6c-754d-49e3-a946-b10daabd9b96' >'/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' && mv -n '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884' && rm -f '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884-2fed496e-e3ed-4205-9a0a-c44b201c57ae' && cat '/root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884')
[2023-03-18T11:37:12.991Z] Start: Starting VS Code Server
[2023-03-18T11:37:12.991Z] Start: Preparing Extensions
[2023-03-18T11:37:12.992Z] Start: Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[2023-03-18T11:37:12.996Z] 
[2023-03-18T11:37:12.997Z] 
[2023-03-18T11:37:12.997Z] Stop (5 ms): Run in container: test ! -f '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server-oss/data/Machine' && { > '/root/.vscode-server-oss/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[2023-03-18T11:37:13.003Z] Extensions cache, install extensions: haskell.haskell, vigoo.stylish-haskell
[2023-03-18T11:37:13.003Z] Start: Run in container: test -d /root/.vscode-server-oss/extensionsCache && ls /root/.vscode-server-oss/extensionsCache || true
[2023-03-18T11:37:13.004Z] 
[2023-03-18T11:37:13.004Z] 
[2023-03-18T11:37:13.005Z] Stop (2 ms): Run in container: test -d /root/.vscode-server-oss/extensionsCache && ls /root/.vscode-server-oss/extensionsCache || true
[2023-03-18T11:37:13.005Z] Start: Run in container: test -d /vscode/vscode-server-oss/extensionsCache && ls /vscode/vscode-server-oss/extensionsCache || true
[2023-03-18T11:37:13.006Z] Stop (68 ms): Run: gpg-connect-agent updatestartuptty /bye
[2023-03-18T11:37:13.013Z] 
[2023-03-18T11:37:13.014Z] 
[2023-03-18T11:37:13.014Z] Stop (9 ms): Run in container: test -d /vscode/vscode-server-oss/extensionsCache && ls /vscode/vscode-server-oss/extensionsCache || true
[2023-03-18T11:37:13.014Z] Extensions cache, link in container: None
[2023-03-18T11:37:13.014Z] Stop (23 ms): Preparing Extensions
[2023-03-18T11:37:13.015Z] Start: Run in container: /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-18T11:37:13.242Z] /root
[2023-03-18T11:37:13.242Z] 
[2023-03-18T11:37:13.242Z] Stop (513 ms): Run in container: echo ~
[2023-03-18T11:37:13.242Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js' >/tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js
[2023-03-18T11:37:13.254Z] 
[2023-03-18T11:37:13.255Z] 
[2023-03-18T11:37:13.255Z] Stop (13 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js' >/tmp/vscode-remote-containers-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js
[2023-03-18T11:37:13.255Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js' >/tmp/vscode-remote-containers-server-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js_1679139433255
[2023-03-18T11:37:13.291Z] 
[2023-03-18T11:37:13.291Z] 
[2023-03-18T11:37:13.291Z] Stop (36 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js' >/tmp/vscode-remote-containers-server-9eabdd43-fd9e-4fb5-b323-6dce6848aa1d.js_1679139433255
[2023-03-18T11:37:13.422Z] OCI runtime exec failed: exec failed: unable to start container process: exec: "/root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss": stat /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss: no such file or directory: unknown
[2023-03-18T11:37:13.434Z] Stop (419 ms): Run in container: /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-18T11:37:13.435Z] Command failed: /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss --log debug --force-disable-user-env --server-data-dir /root/.vscode-server-oss --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server-oss/data/Machine/.connection-token-ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 --extensions-download-dir /root/.vscode-server-oss/extensionsCache --install-extension haskell.haskell --install-extension vigoo.stylish-haskell --start-server --disable-websocket-compression
[2023-03-18T11:37:13.436Z] OCI runtime exec failed: exec failed: unable to start container process: exec: "/root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss": stat /root/.vscode-server-oss/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server-oss: no such file or directory: unknown
[2023-03-18T11:37:13.436Z] Exit code 126
[2023-03-18T11:37:13.826Z] userEnvProbe PATHs:
Probe:     '/root/.nvm/versions/node/v16.13.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.ghcup/bin:/root/.cabal/bin'
Container: '/root/.nvm/versions/node/v16.13.0/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.ghcup/bin'
[2023-03-18T11:37:13.826Z] Start: Run in container: mkdir -p '/tmp/devcontainers-someValue.sessionId_1679139031135' && cat > '/tmp/devcontainers-someValue.sessionId_1679139031135/env-loginInteractiveShell.json' << 'envJSON'
[2023-03-18T11:37:13.829Z] 
[2023-03-18T11:37:13.829Z] 
[2023-03-18T11:37:13.829Z] Stop (3 ms): Run in container: mkdir -p '/tmp/devcontainers-someValue.sessionId_1679139031135' && cat > '/tmp/devcontainers-someValue.sessionId_1679139031135/env-loginInteractiveShell.json' << 'envJSON'
rober-m commented 1 year ago

I can't reproduce the error. But from what I see, you're having two errors:

Exit code 1: This one indicates that the container stopped due to either an application error or an incorrect reference in Dockerfile to a file that is not present in the container. It's not an application error because the code works on other machines. So it might be an issue with your setup finding the reference to the Dockerfile.

Exit code 126: Indicates permission problem or command is not executable. The command is /bin/sh -c "while sleep 1000; do :; done". So, not a particularly interesting command. It sounds more like a permission issue.

Sorry, I can't help much from my side since it looks like a setup issue. 🫤 You could use the recommended software (Docker Desktop) to see if that solves the problem. If that works, you can return to your original setup and start debugging, knowing where to look.

nareto commented 1 year ago

thanks for the reply, didn't have time yet to debug this further. So could it be that there was some non-critical error in the docker build process that then causes the exit code 1? Like a missing file.

rober-m commented 1 year ago

@nareto, do you still experience this problem?

nareto commented 1 year ago

Just tried and this doesn't happen anymore. Not sure what happened, probably I have new versions of everything.

However I'm running into another problem, vscode shows a Failed to connect to the remote extension host server (Error: Connection error: Unauthorized client refused) error modal. I can bash into the ppp container but under /workspace there is nothing (though it does appear in the output of mount).

This is not important for me now: I got a new laptop with Windows 11 and there everything runs fine in Docker Desktop + WSL 2. But let me know if I should open a new issue with the above problem (which is on an Archlinux box with Docker Engine, not Desktop)

rober-m commented 1 year ago

Thank you for the update, @nareto!

I'll ask Lars (he uses Arch, btw 😜) if he experienced or can reproduce the problem, but I think there's no need to open a new issue. We asked for Docker Desktop cause we tested it in all major distributions, but we can't cover all possible software/version combinations.