Skip to content

Commit cf7de94

Browse files
AgentConDierdlech
authored andcommitted
Added Docker Toolbox info to using-docker-to-cross-compile.md (ev3dev#371)
Docker Toolbox has differences in sharing drives and handling commands; added info box on how to use it.
1 parent 9873f27 commit cf7de94

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/tutorials/using-docker-to-cross-compile.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ control panel first][shared-drives]{: .alert-link}!
100100

101101
[shared-drives]: https://docs.docker.com/docker-for-windows/#/shared-drives
102102

103+
{% include /style/begin-panel.html type="info" heading="Docker Toolbox" %}
104+
Unless you are using Windows 10 Pro edition, you may have received the following error when trying to install Docker using `Install Docker.msi`:
105+
106+
`HyperV is not available on home editions. Please use Docker Toolbox.`
107+
108+
This is fine, you can just [download Docker Toolbox instead][docker-toolbox]{: .alert-link}.
109+
110+
Docker Toolbox however handles shared drives differently; there is no whale icon in the system tray. Instead, Docker Toolbox automatically allows sharing of your `C:\Users\myname` folder. Also, the path handling is different, you have to use paths in linux style, so the command below has to be changed:
111+
112+
`docker run --rm --it -v /c/Users/myname/example/:/src -w /src ev3cc`
113+
{% include /style/end-panel.html %}
114+
115+
[docker-toolbox]: https://www.docker.com/products/docker-toolbox
116+
103117
Now, we compile using the docker image. First we run a new docker container...
104118

105119
docker run --rm -it -v C:\Users\myname\example\:/src -w /src ev3cc

0 commit comments

Comments
 (0)