Podman run
always shows Error: requires at least 1 arg(s), only received 0
#20260
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Hi, every time I try to run a container in Podman I get the next error message:
Error: requires at least 1 arg(s), only received 0
I tried a container from Red Hat and another that I created my self based on another and I have the same error. I'm following the instructions from a book, so I think that the command is correct. I tried several combinations, removing some arguments and I always have the same error.
I'm using an updated version/snapshot of openSUSE MicroOS. I can run the container from Podman Desktop, but not from the command line.
Podman version:
rpm -q podman:
podman-4.7.0-1.1.x86_64
Steps to reproduce the issue
Steps to reproduce the issue
podman run -d -p 8080:8080 --name myhttp docker://registry.access.redhat.com/ubi8/httpd-24
podman ps
podman run -d -p 8080:8080 --name myhttp
Describe the results you received
I always have the
Error: requires at least 1 arg(s), only received 0
message when I dopodman run
, even with theti
argument.Describe the results you expected
I hope to have the
podman run
command working correctly or at least an explanation of what I'm doing wrong.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
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
The text was updated successfully, but these errors were encountered: