Default Bridge Network on Docker Networking

source image : deploybot.com
sudo docker network ls
sudo docker run -dit — name alpine1 alpine ash
sudo docker run -dit — name alpine2 alpine ash
sudo docker container ls
sudo docker network inspect bridge
sudo docker network inspect bridge
# ip add
# ping -c 3 8.8.8.8
# ping -c 3 172.17.0.3
sudo docker container rm -f alpine1 alpine2

--

--

Cloud DevOps Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store