Jump to content

Docker: Difference between revisions

35 bytes added ,  29 December 2023
Without an explicit "backend" option, the oci-containers default to running on "podman". This guide is for docker, so I believe it is expected that these settings run on docker.
imported>Running-grass
m (fix typo)
imported>Camilosampedro
(Without an explicit "backend" option, the oci-containers default to running on "podman". This guide is for docker, so I believe it is expected that these settings run on docker.)
Line 51: Line 51:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
virtualisation.oci-containers.containers = {
virtualisation.oci-containers = {
  foo = {
  backend = "docker";
  containers = {
    foo = {
       # ...
       # ...
  };
    };
  };
};
};
</syntaxHighlight>
</syntaxHighlight>