Skip to content

Commit 0e25800

Browse files
github-actions[bot]github-actions
andauthored
Automated documentation update (devcontainers#282)
Automated documentation update [skip ci] Co-authored-by: github-actions <github-actions@github.com>
1 parent e9c4f9f commit 0e25800

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/nix/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This Dev Container Feature supports two installation models for Nix: multi-user
4040
| Installation Model | Pros | Cons |
4141
| --- | --- | --- |
4242
| *Multi-User* | Nix can be used with any user including root.<br /><br />Also still works if the UID or GID of any user is updated. | Only works with Nix 2.11 and up due to a Nix installer limitation.<br /><br />Container must run either: run as root (but `remoteUser` in devcontainer.json can be non-root), or includes `sudo` with the `remoteUser` being configured to use it. <br /><br />Note that automated start of the `nix-daemon` requires passwordless `sudo` if the container itself (e.g., `containerUser`) is not running as root. Manual startup using `sudo` can require a password, however (more next). |
43-
| *Single-User* | Does not require the container to run as root or `sudo` to be included in the image. | Only works with the user specified in the `userName` property or an auto-detected user. If this user's UID/GID is updated, that user will no longer be able to work with Nix. This is primarily a consideration when running on Linux where the UID/GID is sync'd to the local user. |
43+
| *Single-User* | Does not require the container to run as root or `sudo` to be included in the image. | Only works with the user specified in the `remoteUser` property or an auto-detected user. If this user's UID/GID is updated, that user will no longer be able to work with Nix. This is primarily a consideration when running on Linux where the UID/GID is sync'd to the local user. |
4444

4545
### Manually starting the Nix daemon
4646

@@ -52,6 +52,7 @@ sudo /usr/local/share/nix-entrypoint.sh
5252

5353
This same command can be used to restart the daemon if it has stopped for some reason. Logs are available at `/tmp/nix-daemon.log`.
5454

55+
5556
---
5657

5758
_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/nix/devcontainer-feature.json). Add additional notes to a `NOTES.md`._

0 commit comments

Comments
 (0)