- RHEL 7
- Podman 126.96.36.199.el7
- Unable to create Podman Container with static ip address in RHEL7.
Following error is prompted when podman container is created with static ip address:
# podman run --rm --name test --net=mynet --ip=<ip_address> container_image Error: error running container create option: cannot set a static IP if joining additional CNI networks: invalid argument
- Creating a
Podman containerwith static ip address was introduced in Podman version 1.7.0 and higher. Podman version 1.7.0 is not available for RHEL7. The feature is available in
RHEL 8provided the podman version is higher than
- Red Hat Enterprise Linux
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.