Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Error shutting down storage: A layer is mounted #80

@romikforest

Description

@romikforest

When I try to deploy v2 on OpenShift accordingly lab instructions from a Dockerfile the builds are failed with the error: Error shutting down storage: A layer is mounted.
I've tried to repeat all the steps deleting the project but have the same errors during builds.

изображение

Copying blob sha256:6182a456504bb119011b721ede5d1e6cf4d0621447465d80cc1d4e53c0ef95e6
Copying blob sha256:5946d17734ce7686f86222b2d0d804ee5cb06cdb23ee6b056279185289336add
Copying config sha256:40349a2425efb3650843103390e2ace030c4288c96f3619cafb16320ab021efb
Writing manifest to image destination
Storing signatures

Pulling image ubuntu:18.04 ...
Getting image source signatures
Copying blob sha256:40dd5be53814ae70b2898558673b7ea18d58bf7ab3433560b9ce3cb76d9ff0b1
Copying config sha256:c6ad7e71ba7d4969784c76f57c4cc9083aa96bb969d802f2ea38f4aaed90ff93
Writing manifest to image destination
Storing signatures
Adding transient rw bind mount for /run/secrets/rhsm
Adding transient rw bind mount for /run/secrets/etc-pki-entitlement
Adding transient rw bind mount for /run/secrets/redhat.repo
STEP 1: FROM golang:1.15 AS builder
STEP 2: RUN go get github.com/codegangsta/negroni
# cd .; git clone -- https://github.com/codegangsta/negroni /go/src/github.com/codegangsta/negroni
Cloning into '/go/src/github.com/codegangsta/negroni'...
fatal: unable to access 'https://github.com/codegangsta/negroni/': Failed to connect to github.com port 443: Connection timed out
package github.com/codegangsta/negroni: exit status 128
STEP 3: FROM ubuntu:18.04
STEP 4: COPY --from=builder /go//main /app/guestbook
Error shutting down storage: A layer is mounted: layer is in use by a container
error: build error: error building at STEP "RUN go get github.com/codegangsta/negroni": error while running runtime: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions