1
這是我爲測試目的而創建的Dockerfile。無法運行我的泊塢窗圖像
FROM ubuntu:latest
MAINTAINER Kapil Gupta "[email protected]"
RUN apt-get update
RUN apt-get install -y wget
RUN apt-get install -y build-essential tcl8.5
RUN apt-get install -y git
EXPOSE 9999
ENTRYPOINT ["myGit"]
WORKDIR /home
我跑這個命令來安裝圖像:
輸出docker images
的
docker build -t mygit .
:
輸出docker run -i -t mygit:latest
的
REPOSITORY TAG IMAGE ID CREATED SIZE
mygit latest 1474c446365f 39 minutes ago 414.5 MB
redis latest dc2bd412c10c 7 weeks ago 438.8 MB
ubuntu latest c73a085dc378 9 weeks ago 127.1 MB
:
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"myGit\\\": executable file not found in $PATH\"\n".
我不unders說明錯誤的含義以及如何糾正錯誤。請在你的回答中解釋錯誤。