Skip to content

Question: Dockerbuild in chroot #255

@kraeml

Description

@kraeml

Would it be possible to create a Docker image with a Dockerfile in a start_chroot_script (or other method)?

I would like this image to be available after installing the customized distribution, as the build process on the Raspberry takes too long. The image could not be uploaded to dockerhub.

There are a few issues that come to mind, but I'm not sure how to solve them.

Currently I start the Docker daemon with

# Start the Docker daemon manually in the background without iptables and bridge network support 
dockerd --iptables=false --bridge=none & 

Unfortunately then no build is possible because no bridge is available.

Thank you very much for your help!

Translated with DeepL.com (free version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions