mirror of
https://github.com/containers/podman.git
synced 2026-10-26 11:49:36 -04:00
docs: prefer --network to --net
The option --network is the more official option as it is listed in podman run --help podman kube play --help Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
1 parent
8d5ec11d0b
commit
374844817d
3 files changed
+4
-4
No files matched your search
@@ -128,7 +128,7 @@ client can connect to the container.
|
||||
|
||||
Now run the container.
|
||||
```
|
||||
$ podman run -dt --name webserver --net podman1 -p 8081:80 quay.io/libpod/banner
|
||||
$ podman run -dt --name webserver --network podman1 -p 8081:80 quay.io/libpod/banner
|
||||
269fd0d6b2c8ed60f2ca41d7beceec2471d72fb9a33aa8ca45b81dc9a0abbb12
|
||||
```
|
||||
Note in the above run command, the container’s port 80 (where the Nginx server is
|
||||
|
||||
Reference in new issue
Block a user