系统是 ubuntu 16.04
docker info
Containers: 11
 Running: 9
 Paused: 0
 Stopped: 2
Images: 20
Server Version: 18.09.7
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 
runc version: N/A
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-142-generic
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.953GiB
Name: TP-ub16
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
     1 
                    
                    silenceshell      2019-11-07 20:10:55 +08:00 
                    
                    docker run --network host 
                 | 
            
     2 
                    
                    rrfeng      2019-11-07 20:16:32 +08:00 via Android 
                    
                    完了我家不能上网了,Google 了一圈好多问的就是没有回答怎么把我家网修好的! 
                 | 
            
     3 
                    
                    Herobs      2019-11-07 20:18:30 +08:00 via Android 
                    
                    检查 ip_forward 打开没,docker info 下面有警告 
                 | 
            
     4 
                    
                    mritd      2019-11-08 07:19:19 +08:00 via iPhone 
                    
                    没有代码,你说个鸡儿 
                 | 
            
     5 
                    
                    mritd      2019-11-08 07:20:03 +08:00 via iPhone 
                    
                    我们线上有个 bug,有人知道是怎么造成的么 
                 | 
            
     6 
                    
                    xsir   OP @silenceshell 这样是可以的, 但是不知道原因啊,怎么彻底解决呢... 
                 | 
            
     9 
                    
                    Herobs      2019-11-08 09:55:36 +08:00 via Android 
                    
                    容器的信息也贴出来啊,里面有个 SandboxKey,配合 nsenter 很容易找出问题 
                 | 
            
     10 
                    
                    ccagml      2019-11-09 16:25:34 +08:00 via Android 
                    
                    Docker 的四种网络模式,这个嘛 
                 |