守护进程的错误响应:驱动程序无法在端点 reverent_newton (HASH) 上编程外部连接

守护进程的错误响应:驱动程序无法在端点 reverent_newton (HASH) 上编程外部连接

我的环境:

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.3 (Maipo)
# docker --version
Docker version 1.12.3, build 9858ec7
# 

每当我尝试使用-p标志运行容器时,都会出现以下错误:

# docker run -p 8080:80 -d drupal
cb0a0e6b9b3c582e28e4c0c44bc8360e81d08b480a451a0821649c4363ade528
/usr/bin/docker-latest: Error response from daemon: driver failed programming external connectivity on endpoint reverent_newton (88f66e815eb12c5949965e9434c94855205b5705f07b8ffaa54b065f91a86712): Error starting userland proxy:.
#

netstat

# netstat -nat | grep LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
tcp6       0      0 ::1:25                  :::*                    LISTEN     
# 

/var/log/messages

# grep dockerd-latest: /var/log/messages | tail -5
Jan 17 11:58:01 X dockerd-latest: time="2017-01-17T11:58:01.494743371-05:00" level=info msg="{Action=create, Username=root, LoginUID=0, PID=17125}"
Jan 17 11:58:01 X dockerd-latest: time="2017-01-17T11:58:01.718468575-05:00" level=info msg="{Action=start, Username=root, LoginUID=0, PID=17125}"
Jan 17 11:58:01 X dockerd-latest: time="2017-01-17T11:58:01.815703456-05:00" level=warning msg="Failed to allocate and map port 8080-8080: Error starting userland proxy: "
Jan 17 11:58:01 X dockerd-latest: time="2017-01-17T11:58:01.882581058-05:00" level=error msg="Handler for POST /v1.24/containers/c1eb945fbb9ea3021e2e2c25b220bf2fbecce1c84dda465d84dd9a8093508063/start returned error: driver failed programming external connectivity on endpoint mad_darwin (699b8a6c9d618a12e62bb68de6cbc8871e9edf754fc1e1f1e862d93fd6b5f58c): Error starting userland proxy: "
Jan 17 11:58:01 X dockerd-latest: time="2017-01-17T11:58:01.882631763-05:00" level=error msg="Handler for POST /v1.24/containers/c1eb945fbb9ea3021e2e2c25b220bf2fbecce1c84dda465d84dd9a8093508063/start returned error: driver failed programming external connectivity on endpoint mad_darwin (699b8a6c9d618a12e62bb68de6cbc8871e9edf754fc1e1f1e862d93fd6b5f58c): Error starting userland proxy: "
# 

SELinux

# getenforce 
Enforcing
# setenforce 0
# getenforce 
Permissive
# 

请指教。

相关内容