Problem
podman-compose
requires the dnsname plugin for podman. Without taht it just won’t work when you want to address other containers in your pod (other issue).
Now, however, this setup does not wor. I guess the issue here is that podman-plugins-3
is installed, but one v4 would be needed for podman 4, would not it?
No config files to be found
The CNI configuration file as specified here or so is not found anywhere:
$ ls -la $XDG_RUNTIME_DIR/cni
ls: cannot access '/run/user/1001/cni': No such file or directory
$ sudo ls -la /etc/cni
ls: cannot access '/etc/cni': No such file or directory
$ ls -la /run/containers/cni
ls: cannot access '/run/containers/cni': No such file or directory
So I do need to do sth. other than layer/install podman-plugins
?
Or do I manually need to do sth. with dnsmasq
. It is actually installed (without me manually needing to layer it):
$ dnsmasq --version
Dnsmasq version 2.86 Copyright (c) 2000-2021 Simon Kelley
[…]
System
$ sudo rpm-ostree install podman-plugins
error: "podman-plugins" is already provided by: podman-plugins-3:4.0.2-1.fc36.x86_64. Use --allow-inactive to explicitly require it.
$ podman version
Client: Podman Engine
Version: 4.0.2
API Version: 4.0.2
Go Version: go1.18beta2
Built: Thu Mar 3 15:56:09 2022
OS/Arch: linux/amd64
$ rpm-ostree status
State: idle
AutomaticUpdatesDriver: Zincati
DriverState: active; periodically polling for updates (last checked Sun 2022-05-29 17:27:27 UTC)
Deployments:
● fedora:fedora/x86_64/coreos/stable
Version: 36.20220505.3.2 (2022-05-24T16:17:13Z)
BaseCommit: 096cc2b6fb422d0464c0a3cea26e51de9e43535fe2edd04caa5bda323b8987fb
GPGSignature: Valid signature by 53DED2CB922D8B8D9E63FD18999F7CBF38AB71F4
LayeredPackages: firewalld ***** podman-compose
fedora:fedora/x86_64/coreos/stable
Version: 35.20220424.3.0 (2022-05-06T20:24:56Z)
BaseCommit: cd82fc9d3489f60e9c492a7daf92c91c5240273770168a7783e1596b582be135
GPGSignature: Valid signature by 787EA6AE1147EEE56C40B30CDB4639719867C58F
LayeredPackages: firewalld ***** podman-compose