我试图将我的docker容器绑定到特定的ip和端口。但在任何情况下我都会得到同样的错误
docker run -d -p 127.0.0.1:885:4000 rubi/mknews
FATA[0002] Error response from daemon: Cannot start container b790903695663bfeb5c24488b04283ae7: (exit status 1)
这是我的ifconfig输出
docker0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::ac4d:76ff:fe19:10c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:608 (608.0 b) TX bytes:180 (180.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:28448 errors:0 dropped:0 overruns:0 frame:0
TX packets:28448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3778591 (3.6 MiB) TX bytes:3778591 (3.6 MiB)