Docker: Difference between revisions
imported>Raboof mention running docker containers with virtualisation.oci-containers - still missing further docs though :) |
imported>Raboof →docker images as systemd services: images -> containers |
||
Line 46: | Line 46: | ||
The <code>setSocketVariable</code> option sets the <code>DOCKER_HOST</code> variable to the rootless Docker instance for normal users by default. | The <code>setSocketVariable</code> option sets the <code>DOCKER_HOST</code> variable to the rootless Docker instance for normal users by default. | ||
== docker | == docker containers as systemd services == | ||
To make sure some docker | To make sure some docker containers are running as systemd services, you can use 'oci-containers': | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> |