Tag: 期望

无法构build泊坞窗图像,“必须是root用户”

我正在通过在容器中安装应用程序(应该是安装的根用户)来创build一个Docker镜像。 # cat Dockerfile FROM ubuntu:16.04 COPY $pwd/intel_virtual_gateway_console64_1_9_0.tar /root/ COPY $pwd/login.exp /root/ WORKDIR /root/ RUN tar -xvf intel_virtual_gateway_console64_1_9_0.tar RUN apt-get update && apt-get install -y expect \ expect-dev \ libxml2-utils RUN whoami RUN expect login.exp Docker镜像的构build过程: root@labadmin-VirtualBox:~/RAGHU/krishna# docker build -t release:4.0 . Sending build context to Docker daemon 633.5MB Step 1/8 : FROM ubuntu:16.04 —> […]