Difference between revisions of "--network (Docker)"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>[[docker start]]</code> | * <code>[[docker start]]</code> | ||
* <code>[[-p]]</code> | * <code>[[-p]]</code> | ||
+ | * <code>[[docker inspect]] your-container | grep NetworkMode</code> | ||
== See also == | == See also == |
Revision as of 10:54, 18 November 2022
docker create --name my-nginx --network my-net --publish 8080:80 nginx:latest
Related
docker run --network
docker start
-p
docker inspect your-container | grep NetworkMode
See also
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: