Difference between revisions of "--network (Docker)"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
* <code>[[--network]] none</code> | * <code>[[--network]] none</code> | ||
− | * <code>[[--network]] | + | * <code>[[--network host]]</code> |
== Related == | == Related == | ||
Line 12: | Line 12: | ||
* <code>[[docker inspect]] your-container | grep NetworkMode</code> | * <code>[[docker inspect]] your-container | grep NetworkMode</code> | ||
* [[Docker networking]] | * [[Docker networking]] | ||
+ | [[docker network inspect]] | ||
== See also == | == See also == |
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: