Code Monkey home page Code Monkey logo

Comments (7)

mback2k avatar mback2k commented on July 21, 2024 4

But, it would really be cool if the error message could indicate that not enough space was available. :-)

from hcsshim.

jplwood avatar jplwood commented on July 21, 2024 2

@mback2k What is the docker-zap tool? Link?

from hcsshim.

mback2k avatar mback2k commented on July 21, 2024 1

It seems like this issue was caused by hidden/undeleted files in C:\ProgramData\docker taking up space that was no longer required (e.g. deleted containers and images). After using the docker-zap tool to remove the folder and reinstalling docker everything went back to normal. I am closing this until I can reproduce the root cause issue of leaked files.

from hcsshim.

mback2k avatar mback2k commented on July 21, 2024

I also found this related issue on the moby repository.

from hcsshim.

mback2k avatar mback2k commented on July 21, 2024

@jplwood See here: https://github.com/jhowardmsft/docker-ci-zap

Attention: This delete all your docker related data as far as I understand.

from hcsshim.

lionelquirynen avatar lionelquirynen commented on July 21, 2024

failed to build: hcsshim::PrepareLayer - failed failed in Win32: The system cannot find the path specified. (0x3), it happened to me again, even after I removed all data docker related. It happens to me with VisualStudio 2019, Docker v19.03.5.

It happens when I try to build a docker image. Here is one of my dockerFile :

FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-nanoserver-1903 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/core/sdk:3.0-nanoserver-1903 AS build
WORKDIR /src
COPY ["ApiGatewayNearyCore/ApiGatewayNearyCore.csproj", "ApiGatewayNearyCore/"]
RUN dotnet restore "ApiGatewayNearyCore/ApiGatewayNearyCore.csproj"
COPY . .
WORKDIR "/src/ApiGatewayNearyCore"
RUN dotnet build "ApiGatewayNearyCore.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "ApiGatewayNearyCore.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "ApiGatewayNearyCore.dll"]

Has anyone an idea how to solve this one?

from hcsshim.

TBBle avatar TBBle commented on July 21, 2024

@lionelquirynen That's PrepareLayer, not ImportLayer, so probably a different bug. You'll get more attention if you open a new bug report instead.

from hcsshim.

Related Issues (20)

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.