Skip to content

COMPOSE_BAKE Access is denied Windows 11 #12941

@fanto88

Description

@fanto88

I have updated to Docker 4.42 and wanted to try COMPOSE_BAKE, but i get an error. No problem if i just docker compose up --build (windows 11)

set COMPOSE_BAKE=true&&docker compose up --build
[+] Building 1.4s (18/18) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 402B 0.0s
=> [internal] load build definition from DjangoDockerfile 0.0s
=> => transferring dockerfile: 1.27kB 0.0s
=> [internal] load metadata for docker.io/library/python:3.13-alpine 0.5s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [builder 1/5] FROM docker.io/library/python:3.13-alpine@sha256:9b4929 0.0s
=> => resolve docker.io/library/python:3.13-alpine@sha256:9b4929a72599b6 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 50.37kB 0.0s
=> CACHED [stage-1 2/7] RUN apk update && apk add --no-cache mariadb 0.0s
=> CACHED [stage-1 3/7] WORKDIR /app 0.0s
=> CACHED [builder 2/5] RUN apk update && apk add --no-cache gcc 0.0s
=> CACHED [builder 3/5] WORKDIR /app 0.0s
=> CACHED [builder 4/5] COPY pip-requirements.txt . 0.0s
=> CACHED [builder 5/5] RUN pip install --no-cache-dir --upgrade pip && 0.0s
=> CACHED [stage-1 4/7] COPY --from=builder /usr/local/lib/python3.13/si 0.0s
=> CACHED [stage-1 5/7] COPY --from=builder /usr/local/bin /usr/local/bi 0.0s
=> CACHED [stage-1 6/7] COPY . . 0.0s
=> CACHED [stage-1 7/7] WORKDIR /app 0.0s
=> exporting to image 0.2s
=> => exporting layers 0.0s
=> => exporting manifest sha256:1d60b6b543a1abb4bdd1676d20db6988d1d8b2e1 0.0s
=> => exporting config sha256:d62e25a30fae3c1755146530eb90e695798c061245 0.0s
=> => exporting attestation manifest sha256:3e7cefe2e3b2fc43f0c543588000 0.1s
=> => exporting manifest list sha256:e763e664bd86f0048d2656e702f5536c28b 0.0s
=> => naming to docker.io/library/escapew-web:latest 0.0s
=> => unpacking to docker.io/library/escapew-web:latest 0.0s
=> resolving provenance for metadata file 0.0s

rename C:\Users\Fanto\AppData\Local\Temp.tmp-compose1888102519982238355 C:\Users\Fanto\AppData\Local\Temp\compose1888102519: Access is denied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions