Note about fuse errors in docker

This commit is contained in:
Artem Godlevskyi
2025-02-12 18:53:50 +02:00
committed by Holden Ramsey
parent a4c90fd48d
commit 96cc478ee4
@@ -56,6 +56,15 @@ mkdir build
docker run --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build qgc-ubuntu-docker
```
::: info
If you get fuse-related errors, you might need to add `--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined` options to the docker invocation command. Like this:
```
docker run --rm -v ${PWD}:/project/source -v ${PWD}/build:/project/build --cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined qgc-ubuntu-docker
```
:::
::: info
If using the script to build the Linux image on a Windows host, you would need to reference the PWD differently.
On Windows the docker command is: