Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

expose daemon on tcp://192.168.99.100:2376 without TLS in docker toolbox for windows WSL #894

Open
jeethesh-kotian opened this issue Jun 8, 2020 · 3 comments

Comments

@jeethesh-kotian
Copy link

Hi All,

Background:
I am using windows 10 Home basic OS, so I need to install Docker Toolbox to use docker in my system.
I have a running docker client in my system and everything is working fine.
I now need to be able to use docker in my Window's WSL ubuntu instance.

Problem Statement:
As per my research, I have exported below in .bashrc on my WSL
export DOCKER_HOST=tcp://192.168.99.100:2376
But still, I am getting the below error when using docker:

root@LAPTOP-F9O4PA9U:~# docker version
Client: Docker Engine - Community
 Version:           19.03.11
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        42e35e61f3
 Built:             Mon Jun  1 09:12:34 2020
 OS/Arch:           linux/amd64
 Experimental:      false
Error response from daemon: Client sent an HTTP request to an HTTPS server.

More Details about my setup:
image

I am not getting any document that helps me to expose tcp://192.168.99.100:2376 on Docker toolbox as we have for docker desktop. So please suggest me with some solution.

Thanks,
Jeethesh

@stephen-turner
Copy link

I'm moving this to the docker/toolbox repository. However, Docker Desktop will run on the latest version of Windows Home (2004), so that might be an even better solution for you.

@stephen-turner stephen-turner transferred this issue from docker/for-win Jun 8, 2020
@jeethesh-kotian
Copy link
Author

jeethesh-kotian commented Jun 10, 2020

I'm moving this to the docker/toolbox repository. However, Docker Desktop will run on the latest version of Windows Home (2004), so that might be an even better solution for you.

Thanks a lot, Stephen!!! I was able to update my Windows Home OS to version 2004 and it allowed me to install Docker Desktop. Thanks a lot for the suggestion.
This allowed me to connect my WSL ubuntu with docker.

For others reference, here is the link for windows update and the entire WSL2 setup instructions -
https://www.microsoft.com/en-in/software-download/windows10
https://docs.docker.com/docker-for-windows/wsl/

@jeethesh-kotian
Copy link
Author

I will keep this ticket active for a while, as this issue still is a genuine issue for many Windows users so if we could get a solution for this then it would be awesome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants