mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
Dockerfile: Add note about mounting volumes with selinux
This commit is contained in:
parent
58f3ea35ec
commit
586d95a4f0
@ -17,6 +17,13 @@
|
|||||||
#
|
#
|
||||||
# docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb --volume ${PWD}:/workspace --workdir /workspace wa
|
# docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb --volume ${PWD}:/workspace --workdir /workspace wa
|
||||||
#
|
#
|
||||||
|
# If using selinux you may need to add the `z` option when mounting
|
||||||
|
# volumes e.g.:
|
||||||
|
# --volume ${PWD}:/workspace:z
|
||||||
|
# Warning: Please ensure you do not use this option when mounting
|
||||||
|
# system directores. For more information please see:
|
||||||
|
# https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
|
||||||
|
#
|
||||||
# The above command starts the container in privileged mode, with
|
# The above command starts the container in privileged mode, with
|
||||||
# access to USB devices. The current directory is mounted into the
|
# access to USB devices. The current directory is mounted into the
|
||||||
# image, allowing you to work from there. Any files written to this
|
# image, allowing you to work from there. Any files written to this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user