Hi and thanks for the Dockerfile, exactly what I needed. Building the image worked perfectly, but I couldn't run msfdb init, it would always answer with
msfdb:274:in read': Permission denied @ rb_sysopen - /home/msf_user/.msf4/database.yml (Errno::EACCES)`
To make it work I had to change the owner of the file:
sudo chown 1000:1000 /home/msf_user/.msf4/database.yml
Maybe you can add this to the image.
Hi and thanks for the Dockerfile, exactly what I needed. Building the image worked perfectly, but I couldn't run
msfdb init, it would always answer withmsfdb:274:inread': Permission denied @ rb_sysopen - /home/msf_user/.msf4/database.yml (Errno::EACCES)`To make it work I had to change the owner of the file:
sudo chown 1000:1000 /home/msf_user/.msf4/database.ymlMaybe you can add this to the image.