Open mw66 opened 1 year ago
I tried:
$ docker run -it qgc-linux-docker sh
then:
$ ls -l /project
total 4
drwxr-xr-x 2 root root 4096 Sep 12 00:49 build
$ whoami
user
so user
does not have write permission to /project/build
?
I build as root in that image, add -u 0
$ docker run -u 0 --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build qgc-linux-docker
seems working so far.
I think the real fix should be chown user /project/build
I meet this problem: run code: sudo docker build --file ./deploy/docker/Dockerfile-build-linux -t qgc-linux-docker . show success
but run: sudo docker run --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build qgc-linux-docker please,how can I do?
@yi452873250 I experienced the same thing as you. My solution was to checkout the 4.3.0 tag and the run mkdir build docker run --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build qgc-linux-docker
again.
Hope that helps?
Expected Behavior
I'm trying to build using Containers on Linux
run successfully.
Current Behavior
Steps to Reproduce:
I followed exact step on:
https://dev.qgroundcontrol.com/master/en/getting_started/container.html
System Information
When posting bug reports, include the following information