加入 --security-opt seccomp:unconfined选项,关闭docker远程命令执行保护
如:
docker run --security-opt seccomp:unconfined -it -p 23945:23946 ubuntu.17.04.i386 /bin/bash
*注意:security选项一定要在-it参数之前,否则会报错“
docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"--security-opt\": executable file not found in $PATH": unknown.
”