therealsaumil / emux

EMUX Firmware Emulation Framework (formerly ARMX)
Mozilla Public License 2.0
688 stars 86 forks source link

Issue running Docker container on setup #11

Closed emandinho closed 3 years ago

emandinho commented 3 years ago

Hi, thanks for your work in developing this environment!

I've found that on following quick install instructions, the NFS service is unable to start when running the container.

nfs

OS: Kali-Linux 2020.3, running on VMware workstation

Docker version: 20.10.5+dfsg1, build 55c4c88

Please let me know if there are any systems requirements or settings I may be missing out. Many thanks

therealsaumil commented 3 years ago

In run-armx-docker, can you add the —privileged option and try running it again? I will see if I can replicate this issue locally.

therealsaumil commented 3 years ago

The issue was triggered by AppArmor. One solution is to run the docker container using the --privileged flag. After investigating https://dockerlabs.collabnix.com/advanced/security/apparmor/, I decided to add the flag --security-opt apparmor=unconfined in run-armx-docker.