[SOLVED] Docker container complains with "docker-proxy" executable not found in $PATH


#1

I’ve tried running different variations of the below command, and the following output is returned to me. This is on a CentOS 7 box; Docker ver. 1.12.6, build ec8512b

sudo docker run --name=gogs-srv1 -p 10082:3000 -v gogs-data:/data gogs/gogs

WARN[0756] Failed to allocate and map port 10082-10082: exec: “docker-proxy”: executable file not found in $PATH
ERRO[0756] Handler for POST /v1.24/containers/56e159aa3b9d9a2c71c935c963c74342a40bd6fe46645c701a1651225ec2bc2b/start returned error: driver failed programming external connectivity on endpoint gogs-srv1 (d2b1397781b7e7f4dd2231dab5d06c1ca8a930b2b21c38a9dcc57e63d42e87b5): exec: “docker-proxy”: executable file not found in $PATH
/usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity on endpoint gogs-srv1 (d2b1397781b7e7f4dd2231dab5d06c1ca8a930b2b21c38a9dcc57e63d42e87b5): exec: “docker-proxy”: executable file not found in $PATH.


#2

I was able to solve the issue by removing the Rackspace repo I installed docker from, and followed the guide for installing docker CE from the following official link:

https://docs.docker.com/engine/installation/linux/docker-ce/centos/