Containers
virtualisation.containers.containersConf.cniPlugins
CNI plugins to install on the system.
Type: list of package
Default
[pkgs.cni-plugins]
Example
[pkgs.cniPlugins.dnsname]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.containersConf.settings
containers.conf configuration
Type: TOML value
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.enable
This option enables the common /etc/containers configuration module.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.ociSeccompBpfHook.enable
Enable the OCI seccomp BPF hook
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.policy
Signature verification policy file.
If this option is empty the default policy file from
skopeo
will be used.
Type: attribute set
Default
{ }
Example
{default = [ { type = "insecureAcceptAnything"; } ];transports = {docker-daemon = {"" = [ { type = "insecureAcceptAnything"; } ];};};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.registries.block
List of blocked repositories.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.registries.insecure
List of insecure repositories.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.registries.search
List of repositories to search.
Type: list of string
Default
["docker.io""quay.io"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
virtualisation.containers.storage.settings
storage.conf configuration
Type: TOML value
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix