Coder Social home page Coder Social logo

Maintaned? about img HOT 7 OPEN

dene14 avatar dene14 commented on July 19, 2024 1
Maintaned?

from img.

Comments (7)

mieliespoor avatar mieliespoor commented on July 19, 2024 5

Any chance that img could be revived? Possibly adding additional maintainers that could help? Looking at the network graph, it would seem there are active developers that could help with this project.

from img.

lel-amri avatar lel-amri commented on July 19, 2024 4

I tried replacing img with buildkit in my workflow.
It actually went pretty well. The only "drawback" is (well, "was", it isn't really a problem anymore for me) the fact that you need three binaries to emulate img: buildkitd, buildkitctl and rootlesskit. Other than that, I had no issue bending my scripts to use buildkit instead of img.

So much changed between the version used by img and the latest of buildkit that only someone well versed in buildkit would be able to make the necessaries patches to either maintain or fork img, and I believe none is interested in working on img.
I'm now convinced that img can be replaced by builtkitd (with the "deamonless" script) for most of the use cases.

from img.

towolf avatar towolf commented on July 19, 2024 2

For me the big advantage is that this project can be used as a drop-in replacement and it presents such a familiar interface that we can basically symlink img to docker and it will work for the most basic use cases. It even works locally like an easy to use standalone binary.

Buildkit rootless and daeminless is a much bigger switch.

from img.

AkihiroSuda avatar AkihiroSuda commented on July 19, 2024 1

I'm one of the maintainers of img but I have to admit that I don't have enough bandwidth to maintain img.

I'd suggest using the upstream BuildKit directly: https://github.com/moby/buildkit
BuildKit also provides a helper script for (pseudo-)daemonless mode: https://github.com/moby/buildkit/blob/master/examples/buildctl-daemonless/buildctl-daemonless.sh

Usage: https://github.com/moby/buildkit#daemonless

# rootful
docker run \
    -it \
    --rm \
    --privileged \
    -v /path/to/dir:/tmp/work \
    --entrypoint buildctl-daemonless.sh \
    moby/buildkit:master \
        build \
        --frontend dockerfile.v0 \
        --local context=/tmp/work \
        --local dockerfile=/tmp/work

# rootless
docker run \
    -it \
    --rm \
    --security-opt seccomp=unconfined \
    --security-opt apparmor=unconfined \
    -e BUILDKITD_FLAGS=--oci-worker-no-process-sandbox \
    -v /path/to/dir:/tmp/work \
    --entrypoint buildctl-daemonless.sh \
    moby/buildkit:master-rootless \
        build \
        --frontend \
        dockerfile.v0 \
        --local context=/tmp/work \
        --local dockerfile=/tmp/work

from img.

lel-amri avatar lel-amri commented on July 19, 2024

@AkihiroSuda:

Correct me if I'm wrong, img does have very useful features that buildkit doesn't: img can run rootless outside of containers, and it is truely daemonless.

I'm extensively using img for a special use-case: Creating LXC containers from Dockerfile files. I do not use Docker per se and img is the only tool that I could find out there at the time that answered my needs.

I'd really love to see img being more maintained. It seems that @jessfraz, the other carry of this project beside you, also abandoned the project. :(

from img.

AkihiroSuda avatar AkihiroSuda commented on July 19, 2024

Correct me if I'm wrong, img does have very useful features that buildkit doesn't: img can run rootless outside of containers, and it is truely daemonless.

BuildKit supports rootless too https://github.com/moby/buildkit/blob/master/docs/rootless.md

from img.

alpharde avatar alpharde commented on July 19, 2024

I'll have to agree with @towolf, anyone knows a replacement that isn't buildkit?

from img.

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.