-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After adding "DOCKER_TLS_VERIFY": false to docker daemon configuration file can't start docker #38
Comments
|
The same with "tlsverify": false. Docker can't start any more. Typically when the user input incorrect value program just returs message to the user and ignore that setting, not fail to start. Other issue, if "tlsverify": false not working - how can I disable tls verification in windows? Look like it is enabled by default and makes other programs like PyCharm fail to use daemon API. For instance I am starting container with "docker run -e DOCKER_TLS_VERIFY=0 -it -p 8888:8888 tensorflow/tensorflow" but still got error from PyCharm "Enabled TLS verification (DOCKER_TLS_VEROFY=1) but certificate path (DOCKER_CERT_PATH) 'C:\xxx' doesn't exits".. so looks like I can't pass -e DOCKER_TLS_VERIFY=0. What should I do to disable it? |
Ah, it turns out that if you specify Stepping back, what is the issue you are trying to solve? |
I want do disable tls verification because PyCharm(Python IDE) when i want to connect remotly to container using docker API see that DOCKER_TLS_VERIFY is true but DOCKER_CERT_PATH doesn't exits and fails to connect. I want to solve this. |
can you try as suggested on this forum post: https://forums.docker.com/t/how-to-find-the-remote-api/20988 |
@pkonovalov-softheme I think you used to use What's happening is that your shell is configured with the I think the solution is not to change the daemon configuration but to unset the |
Hi @pkonovalov-softheme, did you manage to solve your issue? I'd like to close this issue since I don't think there's a bug here but I want to be sure that it's ok with you. |
HI @dgageot! Thanks! Sorry, but I don't know because after this problems I started using bash on Win10 for my task instead of Docker :( You can close. |
@thesnarb Thanks for the feedback. I'm going to close the issue then! |
@dgageot I'm very new to pycharm. (new to python as well) I've tried finding DOCKER_TLS_VERIFY with no luck. Can you point me in the right direction? Thanks |
Waiting for a solution. I would like to connect to docker using PyCharm in windows and fail to do so as well. |
I basically have the same problem, did not find a solution yet. Would be interested if someone find a solution to natively use dockerized python containers on OS X with PyCharm. |
Managed to solve this by using the native engine rather than the old docker-machine way. See stackoverflow question here:
|
I am also using the native engine, but got the same problem there. Using tcp://localhost:2376 or tcp://localhost:2375 results in a connection refused message. Not sure how to configure this at all using OS X. This however has nothing to do with this original topic, so I am going to ask somewhere else. |
If it tells you a folder is missing, try creating it manually.
…On Tue, Jan 31, 2017 at 7:44 PM, Daniel Herrmann ***@***.***> wrote:
I am also using the native engine, but got the same problem there. Using
tcp://localhost:2376 or tcp://localhost:2375 results in a connection
refused message. Not sure how to configure this at all using OS X. This
however has nothing to do with this original topic, so I am going to ask
somewhere else.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#38 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AXPZflThFWhjxWZBi38pLoZC7YrtOG8Vks5rX3L_gaJpZM4JkgpT>
.
--
Hanan Shteingart
Data Scientist @ gong.io
|
@waza-ari After looking for a day on how to get it working I installed Pycham 2017 EAP, where you can enter unix:///var/run/docker.sock as API url. (On OSX) (still trying to figure out how to get around the DOCKER_CERT_PATH issue; ~/.docker does not exist...) |
I solved this by using |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
I want to disable DOCKER_TLS_VERIFY by adding "DOCKER_TLS_VERIFY": false to docker daemon configuration file
Actual behavior
Dacker failed to start
Information
Win10 ver 1607
Docker 1.12: 5968
The text was updated successfully, but these errors were encountered: