NXRM3 docker migration problem

Hello!

Recently I want to try out docker, however with nexus I get permission denied when I try using the sonatype-work directory I have. It is chown’d to the nexus user and the command I run to turn nexus on is

sudo docker run -d -p 8081:8081 --name nexus -v /opt/sonatype-work/nexus3:/nexus-data sonatype/nexus3