a $ docker run --rm --net host -it busybox ip a $ docker run --rm --net bridge -it busybox ip a $ docker run --rm -it busybox ip a #--netはデフォルトでbridge $ docker run -itd --name bridge_busybox busybox $ docker network inspect bridge #接続を確認 $ ping <container ip>