{"id":11107,"date":"2021-10-24T23:18:04","date_gmt":"2021-10-25T06:18:04","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=11107"},"modified":"2021-10-24T23:18:04","modified_gmt":"2021-10-25T06:18:04","slug":"podman-on-centos-8","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=11107","title":{"rendered":"Podman on CentOS 8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A few differences in podman, but got a lot done with CentOS 8 and containers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the weird things I got was communication between the containers and the host.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This sort of worked<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ip link add dockernet-shim link eth0 type macvlan mode bridge\r\nip addr add 192.168.100.223\/32 dev dockernet-shim\r\nip link set dockernet-shim up\r\nip route add 192.168.100.11\/32 dev dockernet-shim\r\nip route add 192.168.100.12\/32 dev dockernet-shim\r\nip route add 192.168.100.15\/32 dev dockernet-shim\r\nip route add 192.168.100.21\/32 dev dockernet-shim\r\nip route add 192.168.100.22\/32 dev dockernet-shim<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The reason I say sort of because it does not work on reboot.  Everything goes away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Weight: 343.2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=11107\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3,12,9],"tags":[],"class_list":["post-11107","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training","category-virtualization","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11107"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11107\/revisions"}],"predecessor-version":[{"id":11108,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11107\/revisions\/11108"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}