Adapt devcontainer.json for systemd-based devcontainer image#131
Draft
Adapt devcontainer.json for systemd-based devcontainer image#131
Conversation
Update devcontainer.json settings to work with the new systemd-based devcontainer image (v4). - Update name to mention apps instead of add-ons - Use same order of elements as in devcontainer template - Bump image tag to 4-supervisor to get the systemd-enabled image - Set overrideCommand to false so the image's CMD (/sbin/init) runs as PID 1 instead of being replaced by VS Code's default sleep command - Set remoteUser to vscode to preserve the non-root shell experience (required when overrideCommand is false, since VS Code no longer injects its own user-switching wrapper) - Add /var/lib/containerd volume mount because modern Docker uses the containerd snapshotter, which stores layer data outside /var/lib/docker - Add tmpfs on /tmp to match typical systemd expectations and avoid leftover state across container restarts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update devcontainer.json settings to work with the new systemd-based devcontainer image (v4).
ha appsinstead ofha addonssubcommandRequires home-assistant/devcontainer#162