hainich/docker: stop docker from loading iptables

keep-around/a2bd7880b454673963ea7a6c2710315b5db9d6e4
schweby 2021-03-30 23:54:23 +02:00
parent c10caa5b0f
commit a2bd7880b4
No known key found for this signature in database
GPG Key ID: 3A489DBB732B9614
1 changed files with 7 additions and 1 deletions

View File

@ -10,7 +10,13 @@ let
newpkgs = {
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";
});