anchor.diff:  VBoxManage controlvm "mymachine" natpf1 "tcp-port10080,tcp,,10080,,10080";
   ----
   
  +This is available as a script in https://github.com/arun-gupta/docker-java/blob/master/instructor/virtualbox-ports.sh.
   
   Check machine IP
   [source, text]
   ----
  -docker-machine ip
  -----
  -
  -Further on refered to as <HOST_IP>
  -
  -## Add extra args to docker host to allow insecure registry for external access via http:
  -You can either insert your <HOST_IP> or the complete subnet e.g. 192.168.99.100 maps to 192.168.99.0/24
  -
  -[source, text]
  -----
  -docker-machine ssh
  -
  -$ # add EXTRA_ARGS="--insecure-registry <YOUR INSECURE HOST>"
  -$ # to /var/lib/boot2docker/profile
  +docker-machine ip mymachine
  +----
  +
  +This IP address is referred as <HOST_IP> in this document.
  +
  +## Configure Docker Host
  +
  +Add extra args to Docker Host to allow insecure registry for external access via `http://`. You can either insert your <HOST_IP> or the complete subnet e.g. 192.168.99.100 maps to 192.168.99.0/24.
  +
  +. Edit `/var/lib/boot2docker/profile` as:
  ++
  +[source, text]
  +----
  +docker-machine ssh mymachine
  +sudo vi /var/lib/boot2docker/profile
  +----
  ++
  +. Add insecure registry settings such that `/var/lib/boot2docker/profile` looks like:
  ++
  +[source, text]
  +----
  +EXTRA_ARGS='
  +--label provider=virtualbox
  +--insecure-registry 192.168.99.100
  +'
  +----
  ++
  +Leave other key/value in the file as is. Save and quit the editor
  +. Restart the docker daemon:
  ++
  +[source, text]
  +----
   $ sudo /etc/init.d/docker restart
   ----
   
  
positive.code: .. link:http://www.getfirefox.com[Firefox]
  
  
  
  ## Install Docker Client
  The docker client is the minimum requirement to have. Download and install by just copying and renaming it accordingly.
  
  [source, text]
  ----
  
negative.code: chmod +x /usr/local/bin/docker-compose
  ----
  
  Docker Compose is not natively supported on Windows and thus requires a workaround as specfied at https://registry.hub.docker.com/u/dduportal/docker-compose/.
  
  ## Install Docker Machine
  Install the Docker machine client for your environment: https://github.com/docker/machine/releases/[latest releases]
  
  [source, text]
  