Is it correct volume mapping?

Please see this docker run command . Is it right or wrong in syntax ?

docker run -p 8080:8080 -p 8001:8001 -v /home/myuser/wb_git:/opt/jboss/wildfly/bin/.niogit:Z -d --name drools-workbench jboss/drools-workbench-showcase:latest

my concern

Did you notice . there are TWO “:” for volume mapping




Is it correct syntax ? or a typo ?

is that opt/jboss/wildfly/bin/.niogit:Z a file or a folder?

this /home/myuser/wb_git looks like a folder

use the other syntax to help you


Does docker run accept it? Does it match the syntax in the documentation?