From db31d8354d9c1988968f076c4e01843330162e03 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 25 May 2021 17:39:23 +0200 Subject: [PATCH] podman: Add iproute2, fixing docker network rm --- nixos/tests/podman.nix | 1 + pkgs/applications/virtualization/podman/wrapper.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/nixos/tests/podman.nix b/nixos/tests/podman.nix index 343ecbe14b2d..7eae575fd7f0 100644 --- a/nixos/tests/podman.nix +++ b/nixos/tests/podman.nix @@ -132,6 +132,7 @@ import ./make-test-python.nix ( podman.succeed("podman ps | grep sleeping") podman.succeed("docker stop sleeping") podman.succeed("docker rm sleeping") + podman.succeed("docker network rm default") with subtest("A podman non-member can not use the docker cli"): podman.fail(su_cmd("docker version", user="mallory")) diff --git a/pkgs/applications/virtualization/podman/wrapper.nix b/pkgs/applications/virtualization/podman/wrapper.nix index ae163583e699..d141ba49a928 100644 --- a/pkgs/applications/virtualization/podman/wrapper.nix +++ b/pkgs/applications/virtualization/podman/wrapper.nix @@ -12,6 +12,7 @@ , util-linux # nsenter , cni-plugins # not added to path , iptables +, iproute2 }: let @@ -25,6 +26,7 @@ let fuse-overlayfs util-linux iptables + iproute2 ] ++ extraPackages); in runCommand podman.name {