Hi, i get an error message: "Error: requires at least 1 arg(s), only received 0". pls help thanks Reported by: vgershman https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/building_running_and_managing_containers/assembly_setting-container-network-modes_building-running-and-managing-containers#annotations:14484291-4778-454c-a380-2554b4f518e3
Hello, Thank you for your report. The command is correct, but there was a formatting issue (the command continued on the next line and it causes confusion). It is now tested and fixed: RHEL 8: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index#proc_running-containers-with-a-static-ip_assembly_setting-container-network-modes RHEL 9: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/building_running_and_managing_containers/index#proc_running-containers-with-a-static-ip_assembly_setting-container-network-modes Thank you again and have a nice day!
to sum up, the correct command is: podman run -d --name=myubi --ip=10.88.0.44 registry.access.redhat.com/ubi9/ubi (You need to specify a container image, in this case: registry.access.redhat.com/ubi9/ubi).