# From windows to docker on Linux Host

**URL:** <https://forums.docker.com/t/from-windows-to-docker-on-linux-host/45887>\
**Category:** General\
**Created:** [February 6, 2018, 11:33pm UTC](https://forums.docker.com/t/from-windows-to-docker-on-linux-host/45887 "2018-02-06T23:33:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![albspe](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@albspe](https://forums.docker.com/u/albspe)\
**Post date:** [February 6, 2018, 11:33pm UTC](https://forums.docker.com/t/from-windows-to-docker-on-linux-host/45887/1 "2018-02-06T23:33:53Z")

</div>

Hello,

I have been struggling with the following problem.

Computer 1: Windows machine with Network interface set to 192.168.137.1  
Computer 2: Linux machine with eth0 interface set to 192.168.137.11  
Computer 2: Docker image running with --network host

I would like to be able to, for example, ssh into the docker running in the Linux machine

When I am in the docker I can ping the windows machine (ping 192.168.137.1). However, the docker does not have an IP address as far as I can tell as I don’t see any assigned when I do

```
docker inspect <image id>

```

I tried to follow some instructions such as create a new docker network

```
docker network create --subnet=192.168.137.0/16 mynet

```

with the intention to then run the docker using that network

```
docker run -it --network mynet <image name>

```

but this messed up everything. I was not able to ping the Linux machine from windows

Any suggestion?

Thx!
