版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wuzhong8809/article/details/82699389
>docker run 6a2f0448c63d -p8888:8080
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"-p8888:8080\": executable file not found in $PATH": unknown.
ERRO[0001] error waiting for container: context canceled
-p参数提前,这样写:
>docker run -p8888:8080 6a2f0448c63d