Difference between revisions of "--network (Docker)"
Jump to navigation
Jump to search
m (Welcome moved page --network to --network (Docker)) Tags: Mobile web edit, Mobile edit |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | * <code>[[docker create]] --name my-nginx --network my-net [[--publish]] 8080:80 nginx:latest</code> | |
+ | |||
+ | * <code>[[--network]] none</code> | ||
+ | * <code>[[--network host]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[docker run --network]]</code> | ||
+ | * <code>[[docker start]]</code> | ||
+ | * <code>[[-p]]</code> | ||
+ | * <code>[[docker inspect]] your-container | grep NetworkMode</code> | ||
+ | * [[Docker networking]] | ||
+ | [[docker network inspect]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{docker network}} |
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 10:41, 7 May 2024
docker create --name my-nginx --network my-net --publish 8080:80 nginx:latest
--network none
--network host
Related[edit]
docker run --network
docker start
-p
docker inspect your-container | grep NetworkMode
- Docker networking
docker network inspect
See also[edit]
Advertising: