From feaff6fa72b7ea34b87d141f8458bff01f36ee33 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Tue, 12 Apr 2016 16:47:45 +0300 Subject: [PATCH] update the documenation --- README.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7de4435a..26e97059 100644 --- a/README.md +++ b/README.md @@ -342,26 +342,38 @@ All the images are open source and hosted on the [Docker Hub](https://hub.docker #### Find your Docker IP Address -- **On Windows & MAC:** run `docker-machine ip default` -
+**On Windows & MAC:** + +```bash +docker-machine ip default +``` *(The default IP is 192.168.99.100)* -- **On Linux:** your IP Address is `127.0.0.1` +**On Linux:** -> For **boot2docker** users: run `boot2docker ip` *(when boot2docker is up)*. +Your IP Address is `127.0.0.1` + +> **boot2docker** users: run `boot2docker ip` *(when boot2docker is up)*.
#### Run a Docker Virtual Host -- **On Windows & MAC:** run `docker-machine start default` +This step is only for **Windows & MAC** users, run the default Host: ->If the host "default" does not exist, create it using: ->
->`docker-machine create -d virtualbox default` +```bash +docker-machine start default +``` -- **On Linux:** you don't need a virtual host, since Docker runs locally on your machine. + +If the host "default" does not exist, create one using the command below, else skip it: + +```bash +docker-machine create -d virtualbox default +``` + +>**Note:** Linux users don't need a virtual host, since Docker runs locally on a the machine.