【问题标题】:Where does `podman network create` store networks, and is it compatible with /etc/cni/net.d?`podman network create` 存储网络在哪里,它是否与 /etc/cni/net.d 兼容?
【发布时间】:2023-02-21 01:52:30
【问题描述】:

我用podman network create建立了一个网络。该信息是否保存在数据库中,而不是保存在例如文件中的单个文件中? /etc/cni/net.d? podman 在 Fedora Server 37 上使用 netavark。

【问题讨论】:

    标签: podman


    【解决方案1】:

    根据 Fedora CoreOS 上的/usr/share/containers/containers.conf

    # Path to the directory where network configuration files are located.
    # For the CNI backend the default is "/etc/cni/net.d" as root
    # and "$HOME/.config/cni/net.d" as rootless.
    # For the netavark backend "/etc/containers/networks" is used as root
    # and "$graphroot/networks" as rootless.
    

    【讨论】:

      猜你喜欢
      • 2017-09-28
      • 2020-01-03
      • 1970-01-01
      • 1970-01-01
      • 2018-08-23
      • 1970-01-01
      • 1970-01-01
      • 2019-04-17
      • 1970-01-01
      相关资源
      最近更新 更多