Questions tagged [lxc-docker]
18 questions
0
votes
0 answers
Identifying the network namespace of an lxc container
I would like to know the mechanism to identify the network namespace of an LXC container. Basically I am looking for a mechanism to move the interface from the network namespace of an LXC back to the main namespace whenever an LXC crashes. For this,…

pr-pal
- 3,248
- 26
- 18
-1
votes
1 answer
docker networking - host mode vs bridge mode - port mapping
In production, host mode networking is recommended over bridge mode to avoid packet forwarding overhead.
$ docker container run --help | grep "network"
--network network Connect a container to a network
--network-alias…

overexchange
- 15,768
- 30
- 152
- 347
-1
votes
1 answer
docker network create command - swarm
Below is the command used to create overlay network driver for swarm cluster instead of using bridge network driver
$ docker network create -d overlay xyz
$ docker network ls
NETWORK ID NAME …

overexchange
- 15,768
- 30
- 152
- 347