Closed mrvaghani closed 2 years ago
Error when using docker build. This was testing in WSL using Docker for Windows
Docker Info:
> docker version Client: Docker Engine - Community Cloud integration: 1.0.17 Version: 20.10.8 API version: 1.41 Go version: go1.16.6 Git commit: 3967b7d Built: Fri Jul 30 19:54:22 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.8 API version: 1.41 (minimum version 1.12) Go version: go1.16.6 Git commit: 75249d8 Built: Fri Jul 30 19:52:31 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.9 GitCommit: e25210fe30a0a703442421b0f60afac609f950a3 runc: Version: 1.0.1 GitCommit: v1.0.1-0-g4144b63 docker-init: Version: 0.19.0 GitCommit: de40ad0
Error:
> docker build -t test/dillinger:3.39.1 -f Dockerfile . [+] Building 2.5s (11/14) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 38B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/nodesource/nsolid:latest 2.3s => [ 1/10] FROM docker.io/nodesource/nsolid:latest@sha256:fd242ad38520981276d9fc2670b2c2d2ca7f6e3c56f73067120f7dfab8cec226 0.0s => [internal] load build context 0.0s => => transferring context: 40.59kB 0.0s => CACHED [ 2/10] RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends bzip2 ca-certificates curl git libfontconfig ttf-wqy 0.0s => CACHED [ 3/10] COPY package.json ./package.json 0.0s => CACHED [ 4/10] RUN npm install --devDependencies && npm cache verify 0.0s => CACHED [ 5/10] RUN rm -rf /configs 0.0s => CACHED [ 6/10] RUN mkdir -p /configs 0.0s => ERROR [ 7/10] COPY . . 0.0s ------ > [ 7/10] COPY . .: ------ cannot copy to non-directory: /var/lib/docker/overlay2/lphcmnkim0sxuij4xjgfemhrp/merged/bin
Error when using docker build. This was testing in WSL using Docker for Windows
Docker Info:
Error: