Difference between revisions of "--network (Docker)"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* <code>[[--network]] none</code> | * <code>[[--network]] none</code> | ||
− | * <code>[[--network]] | + | * <code>[[--network host]]</code> |
== Related == | == Related == | ||
Line 11: | Line 11: | ||
* <code>[[-p]]</code> | * <code>[[-p]]</code> | ||
* <code>[[docker inspect]] your-container | grep NetworkMode</code> | * <code>[[docker inspect]] your-container | grep NetworkMode</code> | ||
+ | * [[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: