January 2018
Intermediate to advanced
456 pages
12h 49m
English
$ docker build
First create an empty folder owned by a user with the same uid and gid that the build user inside the container:
$ sudo install -o 1000 -g 1000 -d /opt/yocto/docker-yocto-builder
And change inside the new directory:
$ cd /opt/yocto/docker-yocto-builder
To run the container and map its /home/build folder to the current directory, type:
$ docker run -it --rm -v $PWD:/home/build yoctocookbook2ndedition/docker-yocto-builder
Where: ...
Read now
Unlock full access