Ferro's Gitbook
  • README
  • DevOps
    • Grafana_Cloud
  • OpenWrt
    • DHCP_DNS
    • GLiNet
    • boot
    • captive_portal
    • luci
    • mwan3
    • radius
    • theme
    • wireless
  • apps
    • web
  • BSD
    • Mac
  • Cloud
    • aws
    • azure
    • cf
    • gcp
    • github
    • ibm_bluemix
    • Pricing
  • container
    • docker
    • Kubernetes
    • podman
  • db
    • InfluxDB
    • loki
    • MySQL & MariaDB
    • Oracle
    • PostgreSQL
  • dev
    • AHK
    • BI
    • LBS
    • ML
    • android
    • editor
    • flutter_web
    • git
    • go
    • HTML5/BS
    • j2ee
    • js
    • js_grid
    • js_vue
    • jupyter
    • ocaml
    • powershell
    • py
    • py_GUI
    • Django
    • shell
    • snippets
    • uni
    • vba
    • wechat.zh
    • wechat_mp.zh
  • elec
    • 3D Printing
    • AC
    • MOSFET
    • battery
    • boost
    • bulk
    • metal
    • simulator
  • hw
    • GPU
    • PCI
    • arduino
    • Bluetooth
    • ent
    • Pinout
    • x86_AMD
    • x86_intel
  • linux
    • Test System
    • X
    • arch
    • fs
    • kernel
    • Memory
    • nw
    • Linux Services
    • Systemd
    • text
  • ms
    • vscode
    • windows
    • wsl
  • multimedia
    • Blender
    • audio
    • blender
    • graphics
    • home
  • nw
    • L3
    • L3_IPv6
    • SDN
    • VPN
    • dns
    • hw
    • Low Level
    • mikrotik
    • mwan
    • Openflow
    • OVS
    • pfsense
    • ppp
    • proxy
    • tsocks
    • pxe
    • Security
    • TCP
  • phone
    • Mi
    • android
  • Storage(SW)
  • vt
    • Intel GVT-g
    • PVE
    • QEMU
    • VDI
    • hyper-v
    • kube
    • libvirt
    • OpenStack
  • Web
    • IBM_MQ
    • IBM_Websphere
    • SSL
    • Apache/IBM_IHS
    • blockchain
    • caddy
    • j2ee
    • nginx
    • static_site
Powered by GitBook
On this page
  • Config
  • CLI
  • network
  • Netavark
  • CNI
  • create

Was this helpful?

Edit on Git
  1. container

podman

PreviousKubernetesNextdb

Last updated 1 year ago

Was this helpful?

Config

V2: /etc/containers/registries.conf

unqualified-search-registries = ["docker.io"]

CLI

podman search docker.io/KEYWORD

network

https://docs.podman.io/en/latest/markdown/podman-network.1.html

  • Netavark is the default network backend and was added in Podman v4.0

  • CNI will be deprecated

https://github.com/containers/common/blob/main/docs/containers.conf.5.md#network-table

/etc/containers/containers.conf

[network]
network_backend="" # cni / netavark
podman network inspect podman

Netavark

https://www.redhat.com/sysadmin/podman-new-network-stack

  • Better IPv6 support

  • Improved support for containers in multiple networks

  • Improved performance

CNI

cni_config_dir in containers.conf: /etc/cni/net.d

DHCP: https://www.cni.dev/plugins/v0.8/ipam/dhcp/

create

https://docs.podman.io/en/latest/markdown/podman-network-create.1.html

--driver

  • bridge

  • macvlan

  • ipvlan

--ipam-driver

  • dhcp: not yet supported with netavark | For CNI the dhcp plugin needs to be activated before.

  • host-local

  • none

Config
CLI
network
Netavark
CNI
DHCP
create