Skip to content

Commit

Permalink
Merge pull request #41 from felipemarques/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
iamluc authored Jun 19, 2018
2 parents d30e705 + 4a94a15 commit 9800edb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,18 @@ Also, you should add a route to access containers inside your VM.
$ sudo route -n add 172.0.0.0/8 $(docker-machine ip $(docker-machine active))
```

### INSTALL WITH COMPOSER
#### Windows

Alternatively, you can install `docker-hostmanager` with [composer](https://getcomposer.org/).
If the host, dont use Docker ToolBox or not a Windows 10 PRO, then needs to mount the /c/Windows folder onto VirtualBox.

```console
$ docker run -d --name docker-hostmanager --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /c/Windows/System32/drivers/etc/hosts:/hosts iamluc/docker-hostmanager
```

After run the container we need to add a route to access container subnets.

Just run
```
composer global require iamluc/docker-hostmanager
$ route /P add 172.17.0.0/8 192.168.99.100
```

### OPTIONS
Expand Down

0 comments on commit 9800edb

Please sign in to comment.