Presentation - https://avikjis27.github.io/ContainerNetworkingSession/
- Container timelines
- CNI vs CNM
- Networking Standards
- Why Kubernetes stop bergaining with docker
- Networking overview
docker run --rm --net=none avikjis27/node-server
wget localhost:5000
ifconfig
docker run --rm --net=host avikjis27/node-server
docker run --rm --env PORT=6000 -p 8082:6001 avikjis27/node-server
docker run --rm --env PORT=6000 -p 8081:6000 avikjis27/node-server
docker run --rm --env PORT=6000 -p 8081:6000 --name server avikjis27/node-server
docker run --rm --env PORT=6001 --net=container:server avikjis27/node-server
sudo docker node ls
sudo docker service ls
sudo docker service create --name node-server --replicas 3 --publish published=8080,target=5000 avikjis27/node-server
sudo docker service scale node-server=4
sudo tcpdump -i enp0s8 | grep VXLAN
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
ctrl A+D
screen -list
screen -X -S <SESSION_NAME> quit