The name of the docker container needs to be after all other arguments in the command. The original command returned this error on my systems.
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "--volume": executable file not found in $PATH: unknown.
The name of the docker container needs to be after all other arguments in the command. The original command returned this error on my systems.