Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix devcontainer.json file #207

Open
colinkiama opened this issue Nov 12, 2023 · 0 comments
Open

Fix devcontainer.json file #207

colinkiama opened this issue Nov 12, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@colinkiama
Copy link
Member

Container creation currently fails. Here's the creation log which shows the errors:


=================================================================================
2023-11-12 08:05:25.304Z: Configuration starting...
2023-11-12 08:05:25.341Z: Cloning...
2023-11-12 08:05:25.401Z: $ git -C "/var/lib/docker/codespacemount/workspace" clone --branch "dev" --depth 1 https://github.com/colinkiama/vala-www "/var/lib/docker/codespacemount/workspace/vala-www"
2023-11-12 08:05:25.408Z: Cloning into '/var/lib/docker/codespacemount/workspace/vala-www'...
2023-11-12 08:05:27.297Z: git process exited with exit code 0
2023-11-12 08:05:27.312Z: $ git -C "/var/lib/docker/codespacemount/workspace/vala-www" config --local remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
2023-11-12 08:05:27.326Z: git process exited with exit code 0
2023-11-12 08:05:27.434Z: Using image: mcr.microsoft.com/devcontainers/universal

=================================================================================
2023-11-12 08:05:27.801Z: Creating container...
2023-11-12 08:05:27.839Z: $ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/vala-www --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --config "/var/lib/docker/codespacemount/workspace/vala-www/.devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
2023-11-12 08:05:28.016Z: @devcontainers/cli 0.52.1. Node.js v18.17.1. linux 6.2.0-1015-azure x64.
2023-11-12 08:05:28.250Z: $2 -c echo Container started
2023-11-12 08:05:33.106Z: invalid argument "consistency=cached" for "--mount" flag: target is required
See 'docker run --help'.
2023-11-12 08:05:33.125Z: mcr.microsoft.com/devcontainers/universal:2 -c echo Container started
2023-11-12 08:05:33.155Z: Error: Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR -p 127.0.0.1:1111:1111 --mount type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces --mount type=volume,src=dind-var-lib-docker-0hcbhh2c7vldoj773drm1bjldnb89u0rt96sl9nju22d9ou8d14n,dst=/var/lib/docker --mount type=volume,src=minikube-config,dst=/home/vscode/.minikube --mount target=/app --mount consistency=cached --mount source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind --mount source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind --mount source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind --mount source=/mnt/containerTmp,target=/tmp,type=bind --mount type=bind,src=/.codespaces/agent/mount/cache,dst=/vscode -l Type=codespaces -e CODESPACES=true -e ContainerVersion=13 -e RepositoryName=vala-www -u codespace --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --init --label CodespacesImageType=Default --label ContainerVersion=13 --hostname codespaces-de2e4b --add-host codespaces-de2e4b:127.0.0.1 --cap-add sys_nice --network host --init --privileged --cap-add SYS_PTRACE --security-opt seccomp=unconfined --entrypoint /bin/sh -l devcontainer.metadata=[{"id":"ghcr.io/devcontainers/features/common-utils:2"},{"id":"ghcr.io/devcontainers/features/git:1"},{"id":"ghcr.io/devcontainers/features/dotnet:1"},{"id":"ghcr.io/devcontainers/features/hugo:1"},{"id":"ghcr.io/devcontainers/features/node:1"},{"id":"./local-features/nvs"},{"id":"ghcr.io/devcontainers/features/conda:1"},{"id":"./local-features/patch-conda"},{"id":"ghcr.io/devcontainers/features/php:1"},{"id":"ghcr.io/devcontainers/features/ruby:1"},{"id":"ghcr.io/devcontainers/features/java:1"},{"id":"ghcr.io/devcontainers/features/sshd:1","entrypoint":"/usr/local/share/ssh-init.sh"},{"id":"ghcr.io/devcontainers/features/git-lfs:1","postCreateCommand":"/usr/local/share/pull-git-lfs-artifacts.sh"},{"id":"ghcr.io/devcontainers/features/github-cli:1"},{"id":"ghcr.io/devcontainers/features/docker-in-docker:2","privileged":true,"entrypoint":"/usr/local/share/docker-init.sh","mounts":[{"source":"dind-var-lib-docker-${devcontainerId}","target":"/var/lib/docker","type":"volume"}]},{"id":"ghcr.io/devcontainers/features/kubectl-helm-minikube:1","mounts":[{"source":"minikube-config","target":"/home/vscode/.minikube","type":"volume"}]},{"id":"ghcr.io/devcontainers/features/go:1","init":true,"capAdd":["SYS_PTRACE"],"securityOpt":["seccomp=unconfined"]},{"id":"./local-features/jekyll"},{"id":"ghcr.io/devcontainers/features/oryx:1"},{"id":"ghcr.io/devcontainers/features/python:1"},{"id":"./local-features/patch-python"},{"id":"./local-features/machine-learning-packages"},{"id":"./local-features/setup-user"},{"customizations":{"vscode":{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","python.formatting.autopep8Path":"/usr/local/py-utils/bin/autopep8","python.formatting.blackPath":"/usr/local/py-utils/bin/black","python.linting.flake8Path":"/usr/local/py-utils/bin/flake8","python.linting.flake8Enabled":false,"python.linting.mypyPath":"/usr/local/py-utils/bin/mypy","python.linting.mypyEnabled":false,"python.linting.pylintPath":"/usr/local/py-utils/bin/pylint","python.linting.pylintEnabled":false,"jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"},"extensions":["GitHub.vscode-pull-request-github"]}},"containerUser":"codespace","remoteUser":"codespace"},{"customizations":{"vscode":{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","python.formatting.autopep8Path":"/usr/local/py-utils/bin/autopep8","python.formatting.blackPath":"/usr/local/py-utils/bin/black","python.formatting.yapfPath":"/usr/local/py-utils/bin/yapf","python.linting.banditPath":"/usr/local/py-utils/bin/bandit","python.linting.enabled":true,"python.linting.flake8Path":"/usr/local/py-utils/bin/flake8","python.linting.mypyPath":"/usr/local/py-utils/bin/mypy","python.linting.pycodestylePath":"/usr/local/py-utils/bin/pycodestyle","python.linting.pydocstylePath":"/usr/local/py-utils/bin/pydocstyle","python.linting.pylintEnabled":true,"python.linting.pylintPath":"/usr/local/py-utils/bin/pylint","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/bin/python2","type":"pythonEnvironment"},{"path":"/usr/bin/python2","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"}}},"mounts":["source=.","target=/app","consistency=cached","source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind","source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind","source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind","source=/mnt/containerTmp,target=/tmp,type=bind"],"containerEnv":{"CODESPACES":"true","ContainerVersion":"13","RepositoryName":"vala-www"},"remoteUser":"vscode","overrideCommand":false,"forwardPorts":[1111]}] mcr.microsoft.com/devcontainers/universal:2 -c echo Container started
2023-11-12 08:05:33.161Z: trap "exit 0" 15
2023-11-12 08:05:33.170Z: {"outcome":"error","message":"Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR -p 127.0.0.1:1111:1111 --mount type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces --mount type=volume,src=dind-var-lib-docker-0hcbhh2c7vldoj773drm1bjldnb89u0rt96sl9nju22d9ou8d14n,dst=/var/lib/docker --mount type=volume,src=minikube-config,dst=/home/vscode/.minikube --mount target=/app --mount consistency=cached --mount source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind --mount source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind --mount source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind --mount source=/mnt/containerTmp,target=/tmp,type=bind --mount type=bind,src=/.codespaces/agent/mount/cache,dst=/vscode -l Type=codespaces -e CODESPACES=true -e ContainerVersion=13 -e RepositoryName=vala-www -u codespace --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --init --label CodespacesImageType=Default --label ContainerVersion=13 --hostname codespaces-de2e4b --add-host codespaces-de2e4b:127.0.0.1 --cap-add sys_nice --network host --init --privileged --cap-add SYS_PTRACE --security-opt seccomp=unconfined --entrypoint /bin/sh -l devcontainer.metadata=[{\"id\":\"ghcr.io/devcontainers/features/common-utils:2\"},{\"id\":\"ghcr.io/devcontainers/features/git:1\"},{\"id\":\"ghcr.io/devcontainers/features/dotnet:1\"},{\"id\":\"ghcr.io/devcontainers/features/hugo:1\"},{\"id\":\"ghcr.io/devcontainers/features/node:1\"},{\"id\":\"./local-features/nvs\"},{\"id\":\"ghcr.io/devcontainers/features/conda:1\"},{\"id\":\"./local-features/patch-conda\"},{\"id\":\"ghcr.io/devcontainers/features/php:1\"},{\"id\":\"ghcr.io/devcontainers/features/ruby:1\"},{\"id\":\"ghcr.io/devcontainers/features/java:1\"},{\"id\":\"ghcr.io/devcontainers/features/sshd:1\",\"entrypoint\":\"/usr/local/share/ssh-init.sh\"},{\"id\":\"ghcr.io/devcontainers/features/git-lfs:1\",\"postCreateCommand\":\"/usr/local/share/pull-git-lfs-artifacts.sh\"},{\"id\":\"ghcr.io/devcontainers/features/github-cli:1\"},{\"id\":\"ghcr.io/devcontainers/features/docker-in-docker:2\",\"privileged\":true,\"entrypoint\":\"/usr/local/share/docker-init.sh\",\"mounts\":[{\"source\":\"dind-var-lib-docker-${devcontainerId}\",\"target\":\"/var/lib/docker\",\"type\":\"volume\"}]},{\"id\":\"ghcr.io/devcontainers/features/kubectl-helm-minikube:1\",\"mounts\":[{\"source\":\"minikube-config\",\"target\":\"/home/vscode/.minikube\",\"type\":\"volume\"}]},{\"id\":\"ghcr.io/devcontainers/features/go:1\",\"init\":true,\"capAdd\":[\"SYS_PTRACE\"],\"securityOpt\":[\"seccomp=unconfined\"]},{\"id\":\"./local-features/jekyll\"},{\"id\":\"ghcr.io/devcontainers/features/oryx:1\"},{\"id\":\"ghcr.io/devcontainers/features/python:1\"},{\"id\":\"./local-features/patch-python\"},{\"id\":\"./local-features/machine-learning-packages\"},{\"id\":\"./local-features/setup-user\"},{\"customizations\":{\"vscode\":{\"settings\":{\"go.toolsManagement.checkForUpdates\":\"local\",\"go.useLanguageServer\":true,\"go.gopath\":\"/go\",\"python.defaultInterpreterPath\":\"/home/codespace/.python/current/bin/python3\",\"python.formatting.autopep8Path\":\"/usr/local/py-utils/bin/autopep8\",\"python.formatting.blackPath\":\"/usr/local/py-utils/bin/black\",\"python.linting.flake8Path\":\"/usr/local/py-utils/bin/flake8\",\"python.linting.flake8Enabled\":false,\"python.linting.mypyPath\":\"/usr/local/py-utils/bin/mypy\",\"python.linting.mypyEnabled\":false,\"python.linting.pylintPath\":\"/usr/local/py-utils/bin/pylint\",\"python.linting.pylintEnabled\":false,\"jupyter.kernels.filter\":[{\"path\":\"/opt/conda/bin/python\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/local/python/current/bin/python3\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/local/python/current/bin/python\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/bin/python3\",\"type\":\"pythonEnvironment\"},{\"path\":\"/bin/python3\",\"type\":\"pythonEnvironment\"}],\"lldb.executable\":\"/usr/bin/lldb\"},\"extensions\":[\"GitHub.vscode-pull-request-github\"]}},\"containerUser\":\"codespace\",\"remoteUser\":\"codespace\"},{\"customizations\":{\"vscode\":{\"settings\":{\"go.toolsManagement.checkForUpdates\":\"local\",\"go.useLanguageServer\":true,\"go.gopath\":\"/go\",\"python.defaultInterpreterPath\":\"/home/codespace/.python/current/bin/python3\",\"python.formatting.autopep8Path\":\"/usr/local/py-utils/bin/autopep8\",\"python.formatting.blackPath\":\"/usr/local/py-utils/bin/black\",\"python.formatting.yapfPath\":\"/usr/local/py-utils/bin/yapf\",\"python.linting.banditPath\":\"/usr/local/py-utils/bin/bandit\",\"python.linting.enabled\":true,\"python.linting.flake8Path\":\"/usr/local/py-utils/bin/flake8\",\"python.linting.mypyPath\":\"/usr/local/py-utils/bin/mypy\",\"python.linting.pycodestylePath\":\"/usr/local/py-utils/bin/pycodestyle\",\"python.linting.pydocstylePath\":\"/usr/local/py-utils/bin/pydocstyle\",\"python.linting.pylintEnabled\":true,\"python.linting.pylintPath\":\"/usr/local/py-utils/bin/pylint\",\"jupyter.kernels.filter\":[{\"path\":\"/opt/conda/bin/python\",\"type\":\"pythonEnvironment\"},{\"path\":\"/bin/python2\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/bin/python2\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/local/python/current/bin/python3\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/local/python/current/bin/python\",\"type\":\"pythonEnvironment\"},{\"path\":\"/usr/bin/python3\",\"type\":\"pythonEnvironment\"},{\"path\":\"/bin/python3\",\"type\":\"pythonEnvironment\"}],\"lldb.executable\":\"/usr/bin/lldb\"}}},\"mounts\":[\"source=.\",\"target=/app\",\"consistency=cached\",\"source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind\",\"source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind\",\"source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind\",\"source=/mnt/containerTmp,target=/tmp,type=bind\"],\"containerEnv\":{\"CODESPACES\":\"true\",\"ContainerVersion\":\"13\",\"RepositoryName\":\"vala-www\"},\"remoteUser\":\"vscode\",\"overrideCommand\":false,\"forwardPorts\":[1111]}] mcr.microsoft.com/devcontainers/universal:2 -c echo Container started\ntrap \"exit 0\" 15\n/usr/local/share/ssh-init.sh\n/usr/local/share/docker-init.sh\nexec \"$@\"\nwhile sleep 1 & wait $!; do :; done - /usr/local/share/docker-init.sh /usr/local/share/ssh-init.sh sleep infinity","description":"An error occurred setting up the container."}
2023-11-12 08:05:33.176Z: /usr/local/share/ssh-init.sh
2023-11-12 08:05:33.182Z: /usr/local/share/docker-init.sh
2023-11-12 08:05:33.191Z: exec "$@"
2023-11-12 08:05:33.196Z: while sleep 1 & wait $!; do :; done - /usr/local/share/docker-init.sh /usr/local/share/ssh-init.sh sleep infinity
2023-11-12 08:05:33.198Z:     at EAA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:462:1260)
2023-11-12 08:05:33.203Z:     at kK (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:462:1002)
2023-11-12 08:05:33.206Z:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-11-12 08:05:33.211Z:     at async NAA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:479:3660)
2023-11-12 08:05:33.216Z: devcontainer process exited with exit code 1
2023-11-12 08:05:33.223Z:     at async vC (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:479:4775)
2023-11-12 08:05:33.227Z:     at async etA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:613:10941)
2023-11-12 08:05:33.234Z:     at async AtA (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:613:10682)

====================================== ERROR ====================================
2023-11-12 08:05:33.241Z: Failed to create container.
=================================================================================
2023-11-12 08:05:33.254Z: Error: Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR -p 127.0.0.1:1111:1111 --mount type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces --mount type=volume,src=dind-var-lib-docker-0hcbhh2c7vldoj773drm1bjldnb89u0rt96sl9nju22d9ou8d14n,dst=/var/lib/docker --mount type=volume,src=minikube-config,dst=/home/vscode/.minikube --mount target=/app --mount consistency=cached --mount source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind --mount source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind --mount source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind --mount source=/mnt/containerTmp,target=/tmp,type=bind --mount type=bind,src=/.codespaces/agent/mount/cache,dst=/vscode -l Type=codespaces -e CODESPACES=true -e ContainerVersion=13 -e RepositoryName=vala-www -u codespace --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --init --label CodespacesImageType=Default --label ContainerVersion=13 --hostname codespaces-de2e4b --add-host codespaces-de2e4b:127.0.0.1 --cap-add sys_nice --network host --init --privileged --cap-add SYS_PTRACE --security-opt seccomp=unconfined --entrypoint /bin/sh -l devcontainer.metadata=[{"id":"ghcr.io/devcontainers/features/common-utils:2"},{"id":"ghcr.io/devcontainers/features/git:1"},{"id":"ghcr.io/devcontainers/features/dotnet:1"},{"id":"ghcr.io/devcontainers/features/hugo:1"},{"id":"ghcr.io/devcontainers/features/node:1"},{"id":"./local-features/nvs"},{"id":"ghcr.io/devcontainers/features/conda:1"},{"id":"./local-features/patch-conda"},{"id":"ghcr.io/devcontainers/features/php:1"},{"id":"ghcr.io/devcontainers/features/ruby:1"},{"id":"ghcr.io/devcontainers/features/java:1"},{"id":"ghcr.io/devcontainers/features/sshd:1","entrypoint":"/usr/local/share/ssh-init.sh"},{"id":"ghcr.io/devcontainers/features/git-lfs:1","postCreateCommand":"/usr/local/share/pull-git-lfs-artifacts.sh"},{"id":"ghcr.io/devcontainers/features/github-cli:1"},{"id":"ghcr.io/devcontainers/features/docker-in-docker:2","privileged":true,"entrypoint":"/usr/local/share/docker-init.sh","mounts":[{"source":"dind-var-lib-docker-${devcontainerId}","target":"/var/lib/docker","type":"volume"}]},{"id":"ghcr.io/devcontainers/features/kubectl-helm-minikube:1","mounts":[{"source":"minikube-config","target":"/home/vscode/.minikube","type":"volume"}]},{"id":"ghcr.io/devcontainers/features/go:1","init":true,"capAdd":["SYS_PTRACE"],"securityOpt":["seccomp=unconfined"]},{"id":"./local-features/jekyll"},{"id":"ghcr.io/devcontainers/features/oryx:1"},{"id":"ghcr.io/devcontainers/features/python:1"},{"id":"./local-features/patch-python"},{"id":"./local-features/machine-learning-packages"},{"id":"./local-features/setup-user"},{"customizations":{"vscode":{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","python.formatting.autopep8Path":"/usr/local/py-utils/bin/autopep8","python.formatting.blackPath":"/usr/local/py-utils/bin/black","python.linting.flake8Path":"/usr/local/py-utils/bin/flake8","python.linting.flake8Enabled":false,"python.linting.mypyPath":"/usr/local/py-utils/bin/mypy","python.linting.mypyEnabled":false,"python.linting.pylintPath":"/usr/local/py-utils/bin/pylint","python.linting.pylintEnabled":false,"jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"},"extensions":["GitHub.vscode-pull-request-github"]}},"containerUser":"codespace","remoteUser":"codespace"},{"customizations":{"vscode":{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","python.formatting.autopep8Path":"/usr/local/py-utils/bin/autopep8","python.formatting.blackPath":"/usr/local/py-utils/bin/black","python.formatting.yapfPath":"/usr/local/py-utils/bin/yapf","python.linting.banditPath":"/usr/local/py-utils/bin/bandit","python.linting.enabled":true,"python.linting.flake8Path":"/usr/local/py-utils/bin/flake8","python.linting.mypyPath":"/usr/local/py-utils/bin/mypy","python.linting.pycodestylePath":"/usr/local/py-utils/bin/pycodestyle","python.linting.pydocstylePath":"/usr/local/py-utils/bin/pydocstyle","python.linting.pylintEnabled":true,"python.linting.pylintPath":"/usr/local/py-utils/bin/pylint","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/bin/python2","type":"pythonEnvironment"},{"path":"/usr/bin/python2","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"}}},"mounts":["source=.","target=/app","consistency=cached","source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind","source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind","source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind","source=/mnt/containerTmp,target=/tmp,type=bind"],"containerEnv":{"CODESPACES":"true","ContainerVersion":"13","RepositoryName":"vala-www"},"remoteUser":"vscode","overrideCommand":false,"forwardPorts":[1111]}] mcr.microsoft.com/devcontainers/universal:2 -c echo Container started
trap "exit 0" 15
/usr/local/share/ssh-init.sh
/usr/local/share/docker-init.sh
exec "$@"
while sleep 1 & wait $!; do :; done - /usr/local/share/docker-init.sh /usr/local/share/ssh-init.sh sleep infinity
2023-11-12 08:05:33.265Z: Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)

====================================== ERROR ====================================
2023-11-12 08:05:33.268Z: Container creation failed.
=================================================================================
2023-11-12 08:05:33.273Z: 

===================================== WARNING ===================================
2023-11-12 08:05:33.279Z: Creating recovery container.
=================================================================================

I also get a warning that "dockerFile" isn't allowed in the "build" object property in .devcontainer.json in GitHub Codespaces:
Screenshot from 2023-11-12 08 14 59

@colinkiama colinkiama added bug Something isn't working help wanted Extra attention is needed labels Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant