Docker – 无法构build映像 – fork / exec docker-containerd-shim:没有这样的文件或目录
我有docker安装在RHEL 7.3上。 当我尝试使用Java作为基础图像构build服务的图像时,它会成功构build它们。
但是,当我尝试使用节点:硼作为基础图像来构build我的UI图像时,它不会说:
fork/exec docker-containerd-shim: no such file or directory
请帮我解决一下这个。 我已经尝试重新启动泊坞窗守护进程及其他在网上提到这种解决方法,但没有运气。
DockerFile
FROM node:boron # Create app directory RUN mkdir -p /usr/src/app/sales WORKDIR /usr/src/app/sales # Install app dependencies COPY package.json /usr/src/app/sales RUN npm install # Bundle app source COPY . /usr/src/app/sales EXPOSE 8182 CMD [ "npm", "start" ]
我们使用fabric.io docker-maven-plugin来构build图像:
<plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>0.21.0</version> <configuration> <dockerHost>${docker-host}</dockerHost> <certPath>${docker-cert-path}</certPath> <images> <image> <alias>ui/sl</alias> <name>ui/sl</name> <build> <tags> <tag>latest</tag> </tags> <dockerFileDir>${project.basedir}/build/sl/prod/</dockerFileDir> </build> </image> </images> <saveFile>${project.build.directory}/ui-sl.tar</saveFile> </configuration> <executions> <execution> <id>sl docker:build</id> <phase>install</phase> <goals> <goal>build</goal> <goal>save</goal> </goals> </execution> <execution> <id>op docker:build</id> <phase>install</phase> <goals> <goal>build</goal> <goal>save</goal> </goals> <configuration> <images> <image> <alias>ui/op</alias> <name>ui/op</name> <build> <tags> <tag>latest</tag> </tags> <dockerFileDir>${project.basedir}/build/op/prod/</dockerFileDir> </build> </image> </images> <saveFile>${project.build.directory}/uiOp.tar</saveFile> </configuration> </execution> </executions> </plugin>
- 使用AWS ECS docker容器,可以将所有三个必需的Zookeeper端口映射到主机? (似乎没有)
- 如何将命令行parameter passing给Docker镜像
- web_1 | /docker-entrypoint.sh:第99行:exec:bundle:未findapp_web_1用代码127退出
- 在运行hello-world的Oracle Linux上,“来自守护程序的错误响应:无法启动容器…没有这样的文件或目录”
- dockerregistryping 404
- Docker链接到构build的现有容器或图像
- 如何通过Dockerfile安装`passenger-install-nginx-module`
- 使用Docker在Ubuntu映像中安装库
- Heroku上的VisualVM(带Docker)