update podman config for 20.09
This commit is contained in:
parent
3304bb3533
commit
b44f659e96
1 changed files with 4 additions and 35 deletions
|
@ -13,43 +13,12 @@ in {
|
||||||
unstable.kustomize
|
unstable.kustomize
|
||||||
unstable.vault
|
unstable.vault
|
||||||
|
|
||||||
# podman
|
|
||||||
conmon
|
|
||||||
fuse-overlayfs
|
|
||||||
podman
|
|
||||||
podman-compose
|
podman-compose
|
||||||
runc
|
fuse-overlayfs
|
||||||
slirp4netns
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.stefan.subUidRanges = [{ startUid = 100000; count = 65536; }];
|
virtualisation.podman = {
|
||||||
users.users.stefan.subGidRanges = [{ startGid = 100000; count = 65536; }];
|
enable = true;
|
||||||
|
dockerCompat = true;
|
||||||
environment.etc."containers/policy.json" = {
|
|
||||||
mode="0644";
|
|
||||||
text=''
|
|
||||||
{
|
|
||||||
"default": [
|
|
||||||
{
|
|
||||||
"type": "insecureAcceptAnything"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"transports":
|
|
||||||
{
|
|
||||||
"docker-daemon":
|
|
||||||
{
|
|
||||||
"": [{"type":"insecureAcceptAnything"}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.etc."containers/registries.conf" = {
|
|
||||||
mode="0644";
|
|
||||||
text=''
|
|
||||||
[registries.search]
|
|
||||||
registries = ['docker.io', 'quay.io']
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue