Version
- Plugin version (or ref)
- Platform info
0.2.0
Pop! OS ubuntu 22.04 equiv
Describe the bug
A clear and concise description of what the bug is.
Devcontainers is unable to start. I'm seeing the following errors of note in the logs:
/.devcontainer/.", "--iidfile", "/tmp/lua_6yZWXN" }): 'Error: error creating build container: writing blob: adding layer with blob "sha256:6533c3eba3f3cd4c840877f9245b26929fc8c22a39f42c872aa314c32c6d654b": Error processing tar file(exit status 1): potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid: lchown /etc/gshadow: invalid argument\n'
[ERROR Sun 15 Sep 2024 04:17:24 PM PDT]: "podman" command ({ "build", "-f", "/home/anon/repos/avalanche-starter-kit/.devcontainer/Dockerfile", "/home/anon/repos/avalanche-starter-kit/.devcontainer/.", "--iidfile", "/tmp/lua_c1FYzZ" }): 'Error: error creating build container: writing blob: adding layer with blob "sha256:6533c3eba3f3cd4c840877f9245b26929fc8c22a39f42c872aa314c32c6d654b": Error processing tar file(exit status 1): potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid: lchown /etc/gshadow: invalid argument\n'
[ERROR Sun 15 Sep 2024 05:13:44 PM PDT]: "podman" command ({ "run", "-i", "-d", "--publish", 9650, "--publish", 9652, "--publish", 9654, "--publish", 9656, "--publish", 9658, "--mount", "source=/home/anon/repos/avalanche-starter-kit,target=/workspace,type=bind,z=true", "--network=host", "--entrypoint", "", "sha256:614ff56192790b85f01ccfa3d6468f0417eedc4f0cd12e1ab744d0b1bf053ecd", "/bin/sh", "-c", "while sleep 1000; do :; done" }): "Port mappings have been discarded as one of the Host, Container, Pod, and None network modes are in use\n"
[INFO Sun 15 Sep 2024 05:19:00 PM PDT]: "Setup complete!"
[ERROR Sun 15 Sep 2024 05:19:09 PM PDT]: "podman" command ({ "image", "inspect", "nvim_dev_container_homeanonreposavalanchestarterkit", "--format", "{{.RootFS.Layers}}" }): "Error: error inspecting object: nvim_dev_container_homeanonreposavalanchestarterkit: image not known\n"
[ERROR Sun 15 Sep 2024 05:19:10 PM PDT]: "podman" command ({ "run", "-i", "-d", "--publish", 9650, "--publish", 9652, "--publish", 9654, "--publish", 9656, "--publish", 9658, "--mount", "source=/home/anon/repos/avalanche-starter-kit,target=/workspace,type=bind,z=true", "--network=host", "--entrypoint", "", "sha256:614ff56192790b85f01ccfa3d6468f0417eedc4f0cd12e1ab744d0b1bf053ecd", "/bin/sh", "-c", "while sleep 1000; do :; done" }): "Port mappings have been discarded as one of the Host, Container, Pod, and None network modes are in use\n"
[INFO Sun 15 Sep 2024 05:23:19 PM PDT]: "Setup complete!"
[ERROR Sun 15 Sep 2024 05:28:14 PM PDT]: "podman" command ({ "build", "-f", "/home/anon/repos/avalanche-starter-kit/.devcontainer/Dockerfile", "/home/anon/repos/avalanche-starter-kit/.devcontainer/.", "--iidfile", "/tmp/lua_DrNFHf" }): 'time="2024年09月15日T17:28:14-07:00" level=error msg="invalid internal status, try resetting the pause process with \"podman system migrate\": invalid configuration: the specified mapping 0:65536 in \"/etc/subuid\" includes the user UID"\n'
[INFO Sun 15 Sep 2024 05:30:19 PM PDT]: "Setup complete!"
[ERROR Sun 15 Sep 2024 05:32:40 PM PDT]: "podman" command ({ "build", "-f", "/home/anon/repos/avalanche-starter-kit/.devcontainer/Dockerfile", "/home/anon/repos/avalanche-starter-kit/.devcontainer/.", "--iidfile", "/tmp/lua_WMH7vO" }): 'time="2024年09月15日T17:32:40-07:00" level=error msg="invalid internal status, try resetting the pause process with \"podman system migrate\": invalid configuration: the specified mapping 0:65536 in \"/etc/subuid\" includes the user UID"\n'
For context, I've done a bit of troubleshooting trying to podman system migrate after modifying /etc/subuid and /etc/subgid , which were originally blank when I began the process.
I have other programs on my system that make use of podman as well which are stopped, and confirmed i can podman run hello-world without error.
I'll mention that running 'lchown /etc/gshadow' from my terminal results in a permission denied error.
Expected behavior
A clear and concise description of what you expected to happen.
Functions on startup without error.
Provide logs if possible
Logs can be accessed with DevcontainerLogs command or with require("devcontainer.commands").open_logs() function.