hainich/docker: stop docker from loading iptables

This commit is contained in:
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

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";
});