podman icon indicating copy to clipboard operation
podman copied to clipboard

podman-systemd.unit.5.md: example `--add-host foobar` in podman-systemd.unit.5.md has incorrect syntax

Open eriksjolund opened this issue 1 year ago • 2 comments

Issue Description

--add-host foobar

in https://github.com/containers/podman/blob/fdb8b1c6d3a6820acfd5af812075ff0a0721748c/docs/source/markdown/podman-systemd.unit.5.md?plain=1#L306

does not follow the syntax of the podman run option --add-host

--add-host=host:ip

See man page of podman run https://docs.podman.io/en/latest/markdown/podman-run.1.html#add-host-host-ip

Steps to reproduce the issue

Steps to reproduce the issue 1. 2. 3.

Describe the results you received

Describe the results you received

Describe the results you expected

Describe the results you expected

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.

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

eriksjolund avatar Sep 14 '24 08:09 eriksjolund

care to provide a PR?

baude avatar Sep 16 '24 13:09 baude

Sure, I'll do that.

eriksjolund avatar Sep 16 '24 18:09 eriksjolund