不能运行docker – 存储库不存在
我在我的文件结构中创build了一个Dockerfile
,构build了一个Dockerfile
仓库,并试图运行它,但是我不断收到以下错误:
Error response from daemon: repository not found, does not exist, or no pull access
。
对于docker工人来说,我很新,所以在这里可能会有什么错误?
我运行的命令:
docker build -t repoName . docker run -d -p 8080:80 repoName
我的Dockerfile:
FROM nginx:1.10.3 RUN mkdir /app WORKDIR /app # Setup enviromnet RUN apt-get update RUN apt-get install -y curl tar RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - RUN apt-get install -y nodejs # Do some building and copying EXPOSE 80 CMD ["/bin/sh", "/app/run-dockerized.sh"]