forked from hacc/haccfiles
hainich/docker: stop docker from loading iptables
This commit is contained in:
parent
c10caa5b0f
commit
a2bd7880b4
1 changed files with 7 additions and 1 deletions
|
@ -10,7 +10,13 @@ let
|
||||||
newpkgs = {
|
newpkgs = {
|
||||||
alps = callPackage ./alps {};
|
alps = callPackage ./alps {};
|
||||||
|
|
||||||
docker = pkgs.docker.overrideAttrs (super: {
|
docker = (pkgs.callPackage (pkgs.path + "/pkgs/applications/virtualization/docker") {
|
||||||
|
iptables = pkgs.writeScriptBin "iptables" ''
|
||||||
|
#!${pkgs.runtimeShell}
|
||||||
|
echo docker tried to run the following iptables command: $@
|
||||||
|
exit 0
|
||||||
|
'';
|
||||||
|
}).docker_19_03.overrideAttrs (super: {
|
||||||
extraPath = super.extraPath + ":${pkgs.zfs}/bin";
|
extraPath = super.extraPath + ":${pkgs.zfs}/bin";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue