docker: exec: \"-p8888:8080\": executable file not found in $PATH"

版权声明:本文为博主原创文章,未经博主允许不得转载。 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

猜你喜欢

转载自blog.csdn.net/wuzhong8809/article/details/82699389
今日推荐