Docker version 1.12.1 port 2375 with ShinyProxy-demo

Using a fresh install version of Red Hat Enterprise Linux Server release 7.2 (Maipo) and Docker version 1.12.1, build 23cf638.

sudo docker pull openanalytics/shinyproxy-demo

The app launches and after putting in the uname and password, it gives a connection refused. error.

This break happened also on Ubuntu after updating. It’s definitely a Docker startup options issue.

With the updated Docker version, the command ExecStart=/usr/bin/docker daemon -H fd:// -D -H tcp://0.0.0.0:2375 causes it to not work. I tried adding a blank ExecStart= per the Docker Docker systemd docs but the new Docker uses ExecStart=/usr/bin/dockerd ....

Thanks,
John

Hi @john_ryan_zelling ,

Thanks for letting us know about this! According to this page

dockerd seems to accept similar options.

Would using

ExecStart=/usr/bin/dockerd -H fd:// -D -H tcp://0.0.0.0:2375

reloading the config and restarting the daemon using

sudo systemctl daemon-reload
sudo systemctl restart docker

work?

Best,
Tobias

UPDATE:

Okay I think I solved it for CentOS but Ubuntu still isn’t working: For Docker 1.12 on CentOS the line should be:

ExecStart=/usr/bin/dockerd -D -H tcp://0.0.0.0:2375

According to a bug report:

Docker 1.12 on CentOS no longer uses socket activation, so you need to remove the -H fd:// from the systemd unit file.

Probably a similar problem for the Ubuntu DOCKER_OPTS ? Ubuntu is not working yet after upgrade. I tried to modify the line

# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix://"

Hi @john_ryan_zelling ,

Thanks a lot for the feedback.

# Use DOCKER_OPTS to modify the daemon startup options.                      
 DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix://"

What version of Ubuntu are you using? 14.04 uses upstart, but 16.04 systemd.

Ubuntu 16.04.1 LTS ‘xenial’

Still getting blocked error

We tested successfully on 14.04 and 16.04 using Docker version 1.12.1

Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:22:43 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:22:43 2016
 OS/Arch:      linux/amd64

Maybe the new troubleshooting section is useful?

http://www.shinyproxy.io/troubleshooting/