Just hand-built a pod from the docker-compose.yaml for mailu/postfix. But two problems:
- Is the correct way to set the CIDR for a pod: --network=slirp4netns:cidr=10.2.21.0/24 ?
- One of the containers in the pod is unbound, which provides DNS for the other containers. So it must have a static IP, but in pod run --ip= does not work.
"Error: invalid config provided: rootless containers and pods cannot be assigned static IP addresses" What do you do about this?
- How does unbound get its queries out of the pod to an authoritatative nameserver?
- The pod is not auto-starting on boot. There is no --restart-always when creating a pod, so systemd?
-