Podman on CentOS 8

A few differences in podman, but got a lot done with CentOS 8 and containers.

One of the weird things I got was communication between the containers and the host.

This sort of worked

ip link add dockernet-shim link eth0 type macvlan mode bridge
ip addr add 192.168.100.223/32 dev dockernet-shim
ip link set dockernet-shim up
ip route add 192.168.100.11/32 dev dockernet-shim
ip route add 192.168.100.12/32 dev dockernet-shim
ip route add 192.168.100.15/32 dev dockernet-shim
ip route add 192.168.100.21/32 dev dockernet-shim
ip route add 192.168.100.22/32 dev dockernet-shim

The reason I say sort of because it does not work on reboot. Everything goes away.

Now I can easily create a script to run on restart, but I think the better way is to figure out how to do it with nmcli.

Weight: 343.2

This entry was posted in New Toys, Technical, Training, Virtualization, Weigh In. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.