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

>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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章