Translations:Docker/37/en: Difference between revisions
Appearance
Importing a new version from external source Tags: Mobile edit Mobile web edit |
Importing a new version from external source |
||
| Line 1: | Line 1: | ||
Rootless Docker lets you run the Docker daemon as a non-root user for improved security. | [https://docs.docker.com/engine/security/rootless/ Rootless Docker] lets you run the Docker daemon as a non-root user for improved security. To do so, enable {{nixos:option|virtualisation.docker.rootless}}. This activates the user-level systemd Docker service. Additionally, the option {{nixos:option|virtualisation.docker.rootless.setSocketVariable|setSocketVariable}} configures the <code>DOCKER_HOST</code> environment variable to point to the rootless Docker instance. | ||
Latest revision as of 20:45, 7 October 2025
Rootless Docker lets you run the Docker daemon as a non-root user for improved security. To do so, enable virtualisation.docker.rootless. This activates the user-level systemd Docker service. Additionally, the option setSocketVariable configures the DOCKER_HOST environment variable to point to the rootless Docker instance.