-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
after installed podman version 3.3.1 on my archlinux, when run basic port mapping command like:
podman run -itd -p 8080:80 nginx
such error occurs:
ERRO[0000] error loading cached network config: network "podman" not found in CNI cache
WARN[0000] falling back to loading from existing plugins on disk
Error: error configuring network namespace for container caaac1893d98d09f60053f1c3f49c598ba77bbb7c5e54319bcf07c92688bfd1a: error adding pod pensive_dirac_pensive_dirac to CNI network "podman": unable to create chain CNI-HOSTPORT-SETMARK: running [/usr/sbin/iptables -t nat -C CNI-HOSTPORT-MASQ -m mark --mark 0x2000/0x2000 -j MASQUERADE --wait]: exit status 2: iptables v1.8.7 (legacy): Couldn't load match `mark':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
Steps to reproduce the issue:
1.install podman version 3.3.1
2.run podman run -itd -p 8080:80 nginx as root
Describe the results you received:
error described above occurs
Describe the results you expected:
container runs normally
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
podman version 3.3.1
Output of podman info --debug:
host:
arch: amd64
buildahVersion: 1.22.3
cgroupControllers:
- cpuset
- cpu
- cpuacct
- blkio
- memory
- devices
- freezer
- net_cls
- perf_event
- net_prio
- hugetlb
- pids
- rdma
cgroupManager: cgroupfs
cgroupVersion: v1
conmon:
package: /usr/bin/conmon is owned by conmon 1:2.0.30-1
path: /usr/bin/conmon
version: 'conmon version 2.0.30, commit: 2792c16f4436f1887a7070d9ad99d9c29742f38a'
cpus: 8
distribution:
distribution: arch
version: unknown
eventLogger: file
hostname: DESKTOP-C81EBT5
idMappings:
gidmap: null
uidmap: null
kernel: 5.10.16.3-microsoft-standard-WSL2
linkmode: dynamic
memFree: 26536742912
memTotal: 26827276288
ociRuntime:
name: crun
package: /usr/bin/crun is owned by crun 1.0-2
path: /usr/bin/crun
version: |-
crun version 1.0
commit: 139dc6971e2f1d931af520188763e984d6cdfbf8
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
os: linux
remoteSocket:
path: /run/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: false
seccompEnabled: true
seccompProfilePath: /etc/containers/seccomp.json
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: /usr/sbin/slirp4netns
package: /usr/bin/slirp4netns is owned by slirp4netns 1.1.12-1
version: |-
slirp4netns version 1.1.12
commit: 7a104a101aa3278a2152351a082a6df71f57c9a3
libslirp: 4.6.1
SLIRP_CONFIG_VERSION_MAX: 3
libseccomp: 2.5.2
swapFree: 7516192768
swapTotal: 7516192768
uptime: 12m 28.9s
registries:
search:
- docker.io
- quay.io
store:
configFile: /etc/containers/storage.conf
containerStore:
number: 6
paused: 0
running: 1
stopped: 5
graphDriverName: overlay
graphOptions:
overlay.mountopt: nodev
graphRoot: /var/lib/containers/storage
graphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "true"
Supports d_type: "true"
Using metacopy: "false"
imageStore:
number: 1
runRoot: /run/containers/storage
volumePath: /var/lib/containers/storage/volumes
version:
APIVersion: 3.3.1
Built: 1630517266
BuiltTime: Thu Sep 2 01:27:46 2021
GitCommit: 4c5283fabff2de5145838f1847a5a7b2b1fbc0a5-dirty
GoVersion: go1.17
OsArch: linux/amd64
Version: 3.3.1
Package info (e.g. output of rpm -q podman or apt list podman):
Name : podman
Version : 3.3.1-1
Description : Tool and library for running OCI-based containers in pods
Architecture : x86_64
URL : https://github.com/containers/podman
Licenses : Apache
Groups : None
Provides : None
Depends On : cni-plugins conmon containers-common device-mapper iptables libseccomp crun slirp4netns
libsystemd fuse-overlayfs libgpgme.so=11-64
Optional Deps : podman-docker: for Docker-compatible CLI
btrfs-progs: support btrfs backend devices
catatonit: --init flag support
crun: support for unified cgroupsv2 [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 71.85 MiB
Packager : Morten Linderud <foxboron@archlinux.org>
Build Date : Thu 02 Sep 2021 01:27:46 AM CST
Install Date : Mon 27 Sep 2021 10:22:48 AM CST
Install Reason : Explicitly installed
Install Script : No
Validated By : SHA-256 Sum
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
archlinux with wsl2 on windows.