Jump to content

Docker: Difference between revisions

imported>Raboof
(mention running docker containers with virtualisation.oci-containers - still missing further docs though :))
imported>Raboof
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 images as systemd services ==
== docker containers as systemd services ==


To make sure some docker images are running as systemd services, you can use 'oci-containers':
To make sure some docker containers are running as systemd services, you can use 'oci-containers':


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Anonymous user