Disabling TLS does no work #589
Comments
The intention was for this to work in 1.3.0, but due to an unfortunate bug it did not. The actual fix is in master, and will be released with 1.3.1. |
Oh, ok, I didn't think of that. Fortunately the 3rd party app I use is updated to work with TLS, so it's all good in the end. Thanks ! |
Any timeline on a release with this fix? |
@vrischmann it seems that docker is still trying to load your tls certs. i was able to get a work around functioning by modifying the --- /etc/init.d/docker
+++ /etc/init.d/docker-no-tls
@@ -6,7 +6,7 @@
test -f '/var/lib/boot2docker/profile' && . '/var/lib/boot2docker/profile'
: ${DOCKER_HOST:='-H tcp://0.0.0.0:2375'}
-: ${DOCKER_TLS:=auto}
+: ${DOCKER_TLS:=''}
: ${DOCKER_STORAGE:=auto}
: ${DOCKER_DIR:=/var/lib/docker}
: ${DOCKER_ULIMITS:=1048576} then run |
In case anyone else comes across this, use 'export' in the profile: export DOCKER_TLS=no |
Hi,
I need to disable TLS because of a 3rd party app which connects to Docker without TLS support. I tried following the procedure in the README, but it's not working.
I added
DOCKER_TLS=no
to/var/lib/boot2docker/profile
, but now when I restart the VM withboot2docker restart
docker doesn't run anymore. This is what I can find in the file/var/log/docker.log
:/usr/local/bin/docker -d -D -g "/var/lib/docker" -H unix:// -H tcp://0.0.0.0:2375 no --tlscacert=/var/lib/boot2docker/tls/ca.pem --tlscert=/var/lib/boot2docker/tls/server.pem --tlskey=/var/lib/boot2dock
er/tls/serverkey.pem >> "/var/lib/boot2docker/docker.log"
Usage: docker [OPTIONS] COMMAND [arg...]`
Clearly it's wrong, maybe the README isn't up to date ?
The text was updated successfully, but these errors were encountered: