- Boot2Docker download form web page
- Use icon placed on screen
- boot2docker ssh
- docker login ( Use Docker Hub credentials username, pass, and email )
- Go to the Start Menu and select Control Panel.
- Click the search box and type "environment variables" (you may not need to type the whole thing to get the right item).
- Select "Edit the system environment variables".
- In the list below "User variables for ", one will say "Path", double click on it.
- Append this to the existing value ";C:\Program Files\Oracle\VirtualBox".
- Ok, the way out. Now we have access to the docker and VirtualBox executables.
- Close and reopen "Boot2Docker Start".
- Should now be the same as we have added VirtualBox stuff to the path.
VBoxManage controlvm "boot2docker-vm" natpf1 "ipython-port,tcp,,8888,,8888"
- On Windows, when inside the VM, Boot2Docker has already mapped all folders to not use backslashes. So, they appear a little different. Below we walk through an example.
- If you aren't in the VM already, run
boot2docker ssh
- Let's map a volume into docker.
Suppose we have this path
C:\Users\kirkhamj\Saved Games
. It becomes this/c/Users/kirkhamj/Saved\ Games/
. What happened?C:
->/c
\
->/
- Finally, spaces are escaped (e.g.
\
). The backslash character is used like this in a number of cases (e.g. parentheses, quotes*, etc.). Also, backslashes escape themselves\
->\\
. - If you aren't sure with a path, just tab complete it. If there is more than one option, it will list them.
- https://docs.docker.com/installation/windows
- http://blog.tutum.co/2014/11/05/how-to-use-docker-on-windows
- https://github.com/boot2docker/boot2docker/blob/master/doc/WORKAROUNDS.md
- http://serverfault.com/questions/365423/how-to-run-vboxmanage-exe
- http://stackoverflow.com/questions/29788897/boot2docker-mount-host-volume-to-externalize-data-using-windows