Sample Header Ad - 728x90

Why does buildah run support `--hostname`, but not podman exec?

0 votes
2 answers
372 views
Both buildah run, and podman exec run programs in active containers, buildah-run - Run a command inside of the container. podman-exec - Execute a command in a running container However, only buildah run supports a --hostname options? Why aren't these commands in parity? Why do they have different capabilities? Put another way, [buildah currently has a broken --hostname option](https://unix.stackexchange.com/q/619205/3285) , but it's not clear to my why it would ever work. With podman the option is set when you *launch* the container and with buildah that's done with buildah from so shouldn't buildah from have the --hostname argument?
Asked by Evan Carroll (34663 rep)
Nov 13, 2020, 04:00 AM
Last activity: Nov 23, 2020, 03:38 PM