Skip to content

Container name is not correct when use RESTful API #26840

@Leeable

Description

@Leeable

Issue Description

Container name is not correct when use RESTful API

Steps to reproduce the issue

Steps to reproduce the issue

  1. Create Container with "http://libpod/containers/create"
root@podman:/home/podman/simple-demo# curl --unix-socket /tmp/podman.sock -X POST   -H "Content-Type: application/json"   -d '{
    "name": "test1",
    "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20"    }'   http://libpod/containers/create
{"Id":"00935f1c0dff566156b28e3d0aac83d5ede7bc5068d3b4e3136460aee632709b","Warnings":[]}
root@podman:/home/podman/simple-demo# podman ps -a
CONTAINER ID  IMAGE                                                                COMMAND     CREATED        STATUS      PORTS       NAMES
00935f1c0dff  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20  /bin/sh     4 seconds ago  Created                 fervent_jones

the name in json body is test1, but it created as random value fervent_jones

2.Create Container with "http://d/v5.0.0/libpod/containers/create"

root@podman:/home/podman/simple-demo# curl --unix-socket /tmp/podman.sock -X POST   -H "Content-Type: application/json"   -d '{
    "name": "test1",
    "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20"    }'   http://d/v5.0.0/libpod/containers/create
{"Id":"a5aa572275e5cdbcf2f928f0adb3481bc8dd07f497c0e7d3d8dd5b64a746fd89","Warnings":[]}
root@podman:/home/podman/simple-demo# podman ps -a
CONTAINER ID  IMAGE                                                                COMMAND     CREATED        STATUS      PORTS       NAMES
a5aa572275e5  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20  /bin/sh     6 seconds ago  Created                 test1

the name in json body is test1

but if i use http://d/v5.0.0/libpod/containers/create, my macvlan network interface will not be correct generated when create container

podman network create \
  --driver macvlan \
  --subnet 192.168.1.0/24 \
  --gateway 192.168.1.1 \
  --ip-range 192.168.1.128/25 \
  --opt parent=ens33 \
  test_macvlan
root@podman:/home/podman/simple-demo# curl --unix-socket /tmp/podman.sock -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "name": "test1",
    "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
    "NetworkingConfig": {
      "EndpointsConfig": {
        "test_macvlan": {
          "IPAMConfig": {
            "IPv4Address": "192.168.1.200"
          }
        }
      }
    }
  }' \
  http://d/v5.0.0/libpod/containers/create
{"Id":"5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c","Warnings":[]}

root@podman:/home/podman/simple-demo# podman inspect 5a
[
     {
          "Id": "5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c",
          "Created": "2025-08-16T09:48:06.828385378+08:00",
          "Path": "/bin/sh",
          "Args": [
               "/bin/sh"
          ],
          "State": {
               "OciVersion": "1.2.0",
               "Status": "created",
               "Running": false,
               "Paused": false,
               "Restarting": false,
               "OOMKilled": false,
               "Dead": false,
               "Pid": 0,
               "ExitCode": 0,
               "Error": "",
               "StartedAt": "0001-01-01T00:00:00Z",
               "FinishedAt": "0001-01-01T00:00:00Z",
               "CheckpointedAt": "0001-01-01T00:00:00Z",
               "RestoredAt": "0001-01-01T00:00:00Z"
          },
          "Image": "ff221270b9fb7387b0ad9ff8f69fbbd841af263842e62217392f18c3b5226f38",
          "ImageDigest": "sha256:6a110d107af7c76b2f7d0a5ea4c7296f5d29576550d134acfef4c993e29b02e6",
          "ImageName": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
          "Rootfs": "",
          "Pod": "",
          "ResolvConfPath": "",
          "HostnamePath": "",
          "HostsPath": "",
          "StaticDir": "/var/lib/containers/storage/overlay-containers/5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c/userdata",
          "OCIRuntime": "crun",
          "ConmonPidFile": "/run/containers/storage/overlay-containers/5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c/userdata/conmon.pid",
          "PidFile": "/run/containers/storage/overlay-containers/5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c/userdata/pidfile",
          "Name": "test1",
          "RestartCount": 0,
          "Driver": "overlay",
          "MountLabel": "",
          "ProcessLabel": "",
          "AppArmorProfile": "containers-default-0.62.3",
          "EffectiveCaps": [
               "CAP_CHOWN",
               "CAP_DAC_OVERRIDE",
               "CAP_FOWNER",
               "CAP_FSETID",
               "CAP_KILL",
               "CAP_NET_BIND_SERVICE",
               "CAP_SETFCAP",
               "CAP_SETGID",
               "CAP_SETPCAP",
               "CAP_SETUID",
               "CAP_SYS_CHROOT"
          ],
          "BoundingCaps": [
               "CAP_CHOWN",
               "CAP_DAC_OVERRIDE",
               "CAP_FOWNER",
               "CAP_FSETID",
               "CAP_KILL",
               "CAP_NET_BIND_SERVICE",
               "CAP_SETFCAP",
               "CAP_SETGID",
               "CAP_SETPCAP",
               "CAP_SETUID",
               "CAP_SYS_CHROOT"
          ],
          "ExecIDs": [],
          "GraphDriver": {
               "Name": "overlay",
               "Data": {
                    "LowerDir": "/var/lib/containers/storage/overlay/994456c4fd7b2b87346a81961efb4ce945a39592d32e0762b38768bca7c7d085/diff",
                    "UpperDir": "/var/lib/containers/storage/overlay/d99d52bfc49668e977129907704c8d8c54b0bcf2b08686edb26bf21d515848c7/diff",
                    "WorkDir": "/var/lib/containers/storage/overlay/d99d52bfc49668e977129907704c8d8c54b0bcf2b08686edb26bf21d515848c7/work"
               }
          },
          "Mounts": [],
          "Dependencies": [],
          "NetworkSettings": {
               "EndpointID": "",
               "Gateway": "",
               "IPAddress": "",
               "IPPrefixLen": 0,
               "IPv6Gateway": "",
               "GlobalIPv6Address": "",
               "GlobalIPv6PrefixLen": 0,
               "MacAddress": "",
               "Bridge": "",
               "SandboxID": "",
               "HairpinMode": false,
               "LinkLocalIPv6Address": "",
               "LinkLocalIPv6PrefixLen": 0,
               "Ports": {},
               "SandboxKey": "",
               "Networks": {
                    "podman": {
                         "EndpointID": "",
                         "Gateway": "",
                         "IPAddress": "",
                         "IPPrefixLen": 0,
                         "IPv6Gateway": "",
                         "GlobalIPv6Address": "",
                         "GlobalIPv6PrefixLen": 0,
                         "MacAddress": "",
                         "NetworkID": "2f259bab93aaaaa2542ba43ef33eb990d0999ee1b9924b557b7be53c0b7a1bb9",
                         "DriverOpts": null,
                         "IPAMConfig": null,
                         "Links": null,
                         "Aliases": [
                              "5a5203ced667"
                         ]
                    }
               }
          },
          "Namespace": "",
          "IsInfra": false,
          "IsService": false,
          "KubeExitCodePropagation": "invalid",
          "lockNumber": 7,
          "Config": {
               "Hostname": "5a5203ced667",
               "Domainname": "",
               "User": "",
               "AttachStdin": false,
               "AttachStdout": false,
               "AttachStderr": false,
               "Tty": false,
               "OpenStdin": false,
               "StdinOnce": false,
               "Env": [
                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                    "container=podman"
               ],
               "Cmd": [
                    "/bin/sh"
               ],
               "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
               "Volumes": null,
               "WorkingDir": "/",
               "Entrypoint": null,
               "OnBuild": null,
               "Labels": null,
               "Annotations": null,
               "StopSignal": "SIGTERM",
               "HealthcheckOnFailureAction": "none",
               "HealthLogDestination": "local",
               "HealthcheckMaxLogCount": 5,
               "HealthcheckMaxLogSize": 500,
               "Umask": "0022",
               "Timeout": 0,
               "StopTimeout": 10,
               "Passwd": true
          },
          "HostConfig": {
               "Binds": [],
               "CgroupManager": "systemd",
               "CgroupMode": "private",
               "ContainerIDFile": "",
               "LogConfig": {
                    "Type": "k8s-file",
                    "Config": null,
                    "Path": "/var/lib/containers/storage/overlay-containers/5a5203ced6672f6a9b1768fccdfc6f1ec247bc94e3d0760ae7e19814daea464c/userdata/ctr.log",
                    "Tag": "",
                    "Size": "0B"
               },
               "NetworkMode": "bridge",
               "PortBindings": {},
               "RestartPolicy": {
                    "Name": "no",
                    "MaximumRetryCount": 0
               },
               "AutoRemove": false,
               "AutoRemoveImage": false,
               "Annotations": null,
               "VolumeDriver": "",
               "VolumesFrom": null,
               "CapAdd": [],
               "CapDrop": [],
               "Dns": [],
               "DnsOptions": [],
               "DnsSearch": [],
               "ExtraHosts": [],
               "HostsFile": "",
               "GroupAdd": [],
               "IpcMode": "shareable",
               "Cgroup": "",
               "Cgroups": "default",
               "Links": null,
               "OomScoreAdj": 0,
               "PidMode": "private",
               "Privileged": false,
               "PublishAllPorts": false,
               "ReadonlyRootfs": false,
               "SecurityOpt": [],
               "Tmpfs": {},
               "UTSMode": "private",
               "UsernsMode": "",
               "ShmSize": 65536000,
               "Runtime": "oci",
               "ConsoleSize": [
                    0,
                    0
               ],
               "Isolation": "",
               "CpuShares": 0,
               "Memory": 0,
               "NanoCpus": 0,
               "CgroupParent": "",
               "BlkioWeight": 0,
               "BlkioWeightDevice": null,
               "BlkioDeviceReadBps": null,
               "BlkioDeviceWriteBps": null,
               "BlkioDeviceReadIOps": null,
               "BlkioDeviceWriteIOps": null,
               "CpuPeriod": 0,
               "CpuQuota": 0,
               "CpuRealtimePeriod": 0,
               "CpuRealtimeRuntime": 0,
               "CpusetCpus": "",
               "CpusetMems": "",
               "Devices": [],
               "DiskQuota": 0,
               "KernelMemory": 0,
               "MemoryReservation": 0,
               "MemorySwap": 0,
               "MemorySwappiness": 0,
               "OomKillDisable": false,
               "PidsLimit": 2048,
               "Ulimits": [],
               "CpuCount": 0,
               "CpuPercent": 0,
               "IOMaximumIOps": 0,
               "IOMaximumBandwidth": 0,
               "CgroupConf": null
          },
          "UseImageHosts": false,
          "UseImageHostname": false
     }
]

There is no macvlan network.

if i use http:/libpod/containers/create, it will combine my macvlan network

root@podman:/home/podman/simple-demo# curl --unix-socket /tmp/podman.sock -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "name": "test1",
    "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
    "NetworkingConfig": {
      "EndpointsConfig": {
        "test_macvlan": {
          "IPAMConfig": {
            "IPv4Address": "192.168.1.200"
          }
        }
      }
    }
  }' \
  http://libpod/containers/create
{"Id":"0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5","Warnings":[]}
root@podman:/home/podman/add-zh/vplcwebcontroldemo/simple-demo# podman inspect 0d
[
     {
          "Id": "0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5",
          "Created": "2025-08-16T09:52:16.073325747+08:00",
          "Path": "/bin/sh",
          "Args": [
               "/bin/sh"
          ],
          "State": {
               "OciVersion": "1.2.0",
               "Status": "created",
               "Running": false,
               "Paused": false,
               "Restarting": false,
               "OOMKilled": false,
               "Dead": false,
               "Pid": 0,
               "ExitCode": 0,
               "Error": "",
               "StartedAt": "0001-01-01T00:00:00Z",
               "FinishedAt": "0001-01-01T00:00:00Z",
               "CheckpointedAt": "0001-01-01T00:00:00Z",
               "RestoredAt": "0001-01-01T00:00:00Z"
          },
          "Image": "ff221270b9fb7387b0ad9ff8f69fbbd841af263842e62217392f18c3b5226f38",
          "ImageDigest": "sha256:6a110d107af7c76b2f7d0a5ea4c7296f5d29576550d134acfef4c993e29b02e6",
          "ImageName": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
          "Rootfs": "",
          "Pod": "",
          "ResolvConfPath": "",
          "HostnamePath": "",
          "HostsPath": "",
          "StaticDir": "/var/lib/containers/storage/overlay-containers/0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5/userdata",
          "OCIRuntime": "crun",
          "ConmonPidFile": "/run/containers/storage/overlay-containers/0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5/userdata/conmon.pid",
          "PidFile": "/run/containers/storage/overlay-containers/0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5/userdata/pidfile",
          "Name": "gallant_varahamihira",
          "RestartCount": 0,
          "Driver": "overlay",
          "MountLabel": "",
          "ProcessLabel": "",
          "AppArmorProfile": "containers-default-0.62.3",
          "EffectiveCaps": [
               "CAP_CHOWN",
               "CAP_DAC_OVERRIDE",
               "CAP_FOWNER",
               "CAP_FSETID",
               "CAP_KILL",
               "CAP_NET_BIND_SERVICE",
               "CAP_SETFCAP",
               "CAP_SETGID",
               "CAP_SETPCAP",
               "CAP_SETUID",
               "CAP_SYS_CHROOT"
          ],
          "BoundingCaps": [
               "CAP_CHOWN",
               "CAP_DAC_OVERRIDE",
               "CAP_FOWNER",
               "CAP_FSETID",
               "CAP_KILL",
               "CAP_NET_BIND_SERVICE",
               "CAP_SETFCAP",
               "CAP_SETGID",
               "CAP_SETPCAP",
               "CAP_SETUID",
               "CAP_SYS_CHROOT"
          ],
          "ExecIDs": [],
          "GraphDriver": {
               "Name": "overlay",
               "Data": {
                    "LowerDir": "/var/lib/containers/storage/overlay/994456c4fd7b2b87346a81961efb4ce945a39592d32e0762b38768bca7c7d085/diff",
                    "UpperDir": "/var/lib/containers/storage/overlay/7cda99f7ae28fc258f0e0ddb29b3e238a21f2be1afd045e355cf1b613c890121/diff",
                    "WorkDir": "/var/lib/containers/storage/overlay/7cda99f7ae28fc258f0e0ddb29b3e238a21f2be1afd045e355cf1b613c890121/work"
               }
          },
          "Mounts": [],
          "Dependencies": [],
          "NetworkSettings": {
               "EndpointID": "",
               "Gateway": "",
               "IPAddress": "",
               "IPPrefixLen": 0,
               "IPv6Gateway": "",
               "GlobalIPv6Address": "",
               "GlobalIPv6PrefixLen": 0,
               "MacAddress": "",
               "Bridge": "",
               "SandboxID": "",
               "HairpinMode": false,
               "LinkLocalIPv6Address": "",
               "LinkLocalIPv6PrefixLen": 0,
               "Ports": {},
               "SandboxKey": "",
               "Networks": {
                    "test_macvlan": {
                         "EndpointID": "",
                         "Gateway": "",
                         "IPAddress": "",
                         "IPPrefixLen": 0,
                         "IPv6Gateway": "",
                         "GlobalIPv6Address": "",
                         "GlobalIPv6PrefixLen": 0,
                         "MacAddress": "",
                         "NetworkID": "6345f9b6304e9bacd810c112d628efabc442809f5f67e4f4af1fb60d310861ec",
                         "DriverOpts": null,
                         "IPAMConfig": null,
                         "Links": null,
                         "Aliases": [
                              "0db339b733bf"
                         ]
                    }
               }
          },
          "Namespace": "",
          "IsInfra": false,
          "IsService": false,
          "KubeExitCodePropagation": "invalid",
          "lockNumber": 7,
          "Config": {
               "Hostname": "0db339b733bf",
               "Domainname": "",
               "User": "",
               "AttachStdin": false,
               "AttachStdout": false,
               "AttachStderr": false,
               "Tty": false,
               "OpenStdin": false,
               "StdinOnce": false,
               "Env": [
                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                    "container=podman"
               ],
               "Cmd": [
                    "/bin/sh"
               ],
               "Image": "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.20",
               "Volumes": null,
               "WorkingDir": "/",
               "Entrypoint": null,
               "OnBuild": null,
               "Labels": null,
               "Annotations": null,
               "StopSignal": "SIGTERM",
               "HealthcheckOnFailureAction": "none",
               "HealthLogDestination": "local",
               "HealthcheckMaxLogCount": 5,
               "HealthcheckMaxLogSize": 500,
               "Umask": "0000",
               "Timeout": 0,
               "StopTimeout": 10,
               "Passwd": true
          },
          "HostConfig": {
               "Binds": [],
               "CgroupManager": "systemd",
               "CgroupMode": "private",
               "ContainerIDFile": "",
               "LogConfig": {
                    "Type": "k8s-file",
                    "Config": null,
                    "Path": "/var/lib/containers/storage/overlay-containers/0db339b733bf8afa784e9ea024882dd3a2734ea03642677269168b8732640aa5/userdata/ctr.log",
                    "Tag": "",
                    "Size": "0B"
               },
               "NetworkMode": "bridge",
               "PortBindings": {},
               "RestartPolicy": {
                    "Name": "no",
                    "MaximumRetryCount": 0
               },
               "AutoRemove": false,
               "AutoRemoveImage": false,
               "Annotations": null,
               "VolumeDriver": "",
               "VolumesFrom": null,
               "CapAdd": [],
               "CapDrop": [],
               "Dns": [],
               "DnsOptions": [],
               "DnsSearch": [],
               "ExtraHosts": [],
               "HostsFile": "none",
               "GroupAdd": [],
               "IpcMode": "shareable",
               "Cgroup": "",
               "Cgroups": "default",
               "Links": null,
               "OomScoreAdj": 0,
               "PidMode": "private",
               "Privileged": false,
               "PublishAllPorts": false,
               "ReadonlyRootfs": false,
               "SecurityOpt": [],
               "Tmpfs": {},
               "UTSMode": "private",
               "UsernsMode": "",
               "ShmSize": 65536000,
               "Runtime": "oci",
               "ConsoleSize": [
                    0,
                    0
               ],
               "Isolation": "",
               "CpuShares": 0,
               "Memory": 0,
               "NanoCpus": 0,
               "CgroupParent": "",
               "BlkioWeight": 0,
               "BlkioWeightDevice": null,
               "BlkioDeviceReadBps": null,
               "BlkioDeviceWriteBps": null,
               "BlkioDeviceReadIOps": null,
               "BlkioDeviceWriteIOps": null,
               "CpuPeriod": 0,
               "CpuQuota": 0,
               "CpuRealtimePeriod": 0,
               "CpuRealtimeRuntime": 0,
               "CpusetCpus": "",
               "CpusetMems": "",
               "Devices": [],
               "DiskQuota": 0,
               "KernelMemory": 0,
               "MemoryReservation": 0,
               "MemorySwap": 0,
               "MemorySwappiness": 0,
               "OomKillDisable": false,
               "PidsLimit": 2048,
               "Ulimits": [],
               "CpuCount": 0,
               "CpuPercent": 0,
               "IOMaximumIOps": 0,
               "IOMaximumBandwidth": 0,
               "CgroupConf": null
          },
          "UseImageHosts": false,
          "UseImageHostname": false
     }
]

you can see the difference here:

"Networks": {
                    "test_macvlan": {
                         "EndpointID": "",
                         "Gateway": "",
                         "IPAddress": "",
                         "IPPrefixLen": 0,
                         "IPv6Gateway": "",
                         "GlobalIPv6Address": "",
                         "GlobalIPv6PrefixLen": 0,
                         "MacAddress": "",
                         "NetworkID": "6345f9b6304e9bacd810c112d628efabc442809f5f67e4f4af1fb60d310861ec",
                         "DriverOpts": null,
                         "IPAMConfig": null,
                         "Links": null,
                         "Aliases": [
                              "0db339b733bf"
                         ]
                    }
               }
          },

Describe the results you received

how can i get correct?

Describe the results you expected

Describe the results you expected

create a correct container name with my macvlan nic

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.


All Podman version can reproduce this bug.

host:
  arch: amd64
  buildahVersion: 1.39.4
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - memory
  - hugetlb
  - pids
  - rdma
  - misc
  - dmem
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: Unknown
    path: /usr/local/lib/podman/conmon
    version: 'conmon version 2.1.13, commit: 82de887596ed8ee6d9b2ee85e4f167f307bb569b'
  cpuUtilization:
    idlePercent: 98.62
    systemPercent: 0.62
    userPercent: 0.77
  cpus: 4
  databaseBackend: sqlite
  distribution:
    codename: noble
    distribution: ubuntu
    version: "24.04"
  eventLogger: file
  freeLocks: 2040
  hostname: podman
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 6.14.0-27-generic
  linkmode: dynamic
  logDriver: k8s-file
  memFree: 3324444672
  memTotal: 8277139456
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: Unknown
      path: /usr/local/lib/podman/aardvark-dns
      version: aardvark-dns 1.14.0
    package: Unknown
    path: /usr/local/lib/podman/netavark
    version: netavark 1.14.1
  ociRuntime:
    name: crun
    package: Unknown
    path: /usr/local/bin/crun
    version: |-
      crun version 1.21
      commit: 10269840aa07fb7e6b7e1acff6198692d8ff5c88
      rundir: /run/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  pasta:
    executable: /usr/local/bin/pasta
    package: Unknown
    version: |
      pasta 2025_03_20.32f6212
      Copyright Red Hat
      GNU General Public License, version 2 or later
        <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  rootlessNetworkCmd: pasta
  security:
    apparmorEnabled: true
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /etc/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: ""
    package: ""
    version: ""
  swapFree: 4294963200
  swapTotal: 4294963200
  uptime: 9h 58m 43.00s (Approximately 0.38 days)
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - docker.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
store:
  configFile: /etc/containers/storage.conf
  containerStore:
    number: 1
    paused: 0
    running: 0
    stopped: 1
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 52518420480
  graphRootUsed: 15569408000
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Supports shifting: "true"
    Supports volatile: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 2
  runRoot: /run/containers/storage
  transientStore: false
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 5.4.2
  Built: 0
  BuiltTime: Thu Jan  1 08:00:00 1970
  GitCommit: ""
  GoVersion: go1.22.12
  Os: linux
  OsArch: linux/amd64
  Version: 5.4.2

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Metadata

Metadata

Assignees

Labels

HTTP APIBug is in RESTful APIkind/bugCategorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.triagedIssue has been triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions