Docker 学习5 Docker容器网络

一、内核网络名称空间

  1、可通过ip netns进行操作

[root@localhost /]# ip netns help
Usage: ip netns list
       ip netns add NAME
       ip netns set NAME NETNSID
       ip [-all] netns delete [NAME]
       ip netns identify [PID]
       ip netns pids NAME
       ip [-all] netns exec [NAME] cmd ...
       ip netns monitor
       ip netns list-id

猜你喜欢

转载自www.cnblogs.com/Presley-lpc/p/10661976.html
今日推荐