Giter VIP home page Giter VIP logo

gsd's Issues

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat ../docker/demos/gsd/Dockerfile: no such file or directory

Hi @nigelpoulton ,

I'm following thru your
Getting Started with Docker

course from pluralsight last updated 27 Oct 2020

I get this error when I try to build the image.

Seems like the Dockerfile has been removed?

Please advice how to fix this.

Steps done:

  1. Forked this repo
  2. typed ls on the command line
  3. ls results:
    first-container multi-container README.md swarm-stack
  4. ran docker build command:
    sudo docker image build -t <my_dockerhub_id>/gsd:1 --no-cache .

Error encountered:

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat <my_directory>/docker/demos/gsd/Dockerfile: no such file or directory

Environment

I'm running on Ubuntu 20.04.4 LTS

With docker version: Docker version 20.10.14, build a224086

Thanks!

Docker build command is throwing 'Failed commit on ref' error

While running 'docker image build -t /gsd:first-ctr .' command in git bash I am getting following error

$ docker image build -t <docker_id>/gsd:first-ctr .
#1 [internal] load build definition from Dockerfile
#1 sha256:48c65f26b52ffa5c46a4ff8e2d991d5d90aa6a82aa09c3a12ebeabe4f051b768
#1 transferring dockerfile: 714B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:c699631d23aaf9da72f9522ad1e9a4e0b01f2140459a8c45bee572f55fc95831
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/node:current-alpine
#3 sha256:199b329d4c2ff8be15448bc9e6b26a702fa5adbb5fbe8f53d16a30a94d6566ed
#3 DONE 4.0s

#4 [1/5] FROM docker.io/library/node:current-alpine@sha256:2eee2f439d3b3509bbe40faff6584bd31b5745b4c137e93e2d795899a2927762
#4 sha256:ec5f837ac3383efaf783b874914b91b0e7f97d84c22791dde72d68e766db1919
#4 resolve docker.io/library/node:current-alpine@sha256:2eee2f439d3b3509bbe40faff6584bd31b5745b4c137e93e2d795899a2927762 0.0s done
#4 ...

#6 [internal] load build context
#6 sha256:1e521084bbdb24096ed139e967ba569b0ab20491034ce7838c06872d6ed964a3
#6 transferring context: 106.31kB 0.1s done
#6 DONE 0.1s

#4 [1/5] FROM docker.io/library/node:current-alpine@sha256:2eee2f439d3b3509bbe40faff6584bd31b5745b4c137e93e2d795899a2927762
#4 sha256:ec5f837ac3383efaf783b874914b91b0e7f97d84c22791dde72d68e766db1919
#4 sha256:f5079a4f93c8e4fd07ffa93fc95f6484d7f4f40abd126c11810cb282483ab599 1.16kB / 1.16kB done
#4 sha256:48de5d16038cc532b2b5ef91f8d1028f5542b8196f5c6eced9c172894a7af337 6.73kB / 6.73kB done
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 0B / 35.89MB 0.1s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 0.1s
#4 sha256:0040dd60b7a47c7eb81961c48a17926755b00598f9753a499156bb0de7081dd9 0B / 281B 0.1s
#4 sha256:2eee2f439d3b3509bbe40faff6584bd31b5745b4c137e93e2d795899a2927762 1.43kB / 1.43kB done
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 2.10MB / 35.89MB 1.1s
#4 sha256:0040dd60b7a47c7eb81961c48a17926755b00598f9753a499156bb0de7081dd9 281B / 281B 1.1s done
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 4.19MB / 35.89MB 3.0s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 6.29MB / 35.89MB 3.6s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 8.39MB / 35.89MB 4.4s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 5.1s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 10.49MB / 35.89MB 5.3s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 12.58MB / 35.89MB 5.9s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 14.68MB / 35.89MB 6.7s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 16.78MB / 35.89MB 8.0s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 18.87MB / 35.89MB 9.0s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 20.97MB / 35.89MB 10.2s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 10.2s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 23.07MB / 35.89MB 10.9s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 25.17MB / 35.89MB 11.8s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 27.26MB / 35.89MB 13.5s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 29.36MB / 35.89MB 14.1s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 31.46MB / 35.89MB 15.4s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 17.1s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 33.55MB / 35.89MB 18.2s
#4 sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 35.89MB / 35.89MB 21.1s done
#4 extracting sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9
#4 extracting sha256:fdd4ce4fd760cc2dc2cd21003bda974f04fa4c6dc16a0eaaee0606e5134b28e9 2.8s done
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 27.5s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 43.7s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 48.9s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 54.0s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 76.5s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 102.8s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 107.8s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 0B / 2.35MB 113.0s
#4 sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f 118.61kB / 2.35MB 115.3s
#4 ERROR: failed commit on ref "layer-sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f": "layer-sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f" failed size validation: 118611 != 2349059: failed precondition

[1/5] FROM docker.io/library/node:current-alpine@sha256:2eee2f439d3b3509bbe40faff6584bd31b5745b4c137e93e2d795899a2927762:


failed commit on ref "layer-sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f": "layer-sha256:b78962e1a5c8c974c4663e987d7b61e6c80a85d7042819e99b031c377007d69f" failed size validation: 118611 != 2349059: failed precondition

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.