Comments (7)
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.
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.
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.
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.
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.
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.
I'll have to agree with @towolf, anyone knows a replacement that isn't buildkit?
from img.
Related Issues (20)
- prune support (clean up build cache)
- nsenter: failed to sync with parent: SYNC_USERMAP_ACK: got 255: Invalid argument HOT 1
- spec: failed to generate spec: no command specified HOT 2
- setting up img Dockerfile HOT 2
- Deadlock during COPY
- q: how can I load tar archive using Img?
- Failing on some whiteout files
- nsenter: Permission denied on K8s containerd w/ Gitlab Runners HOT 2
- Is there any solutions for `docker load` ? HOT 1
- img on kubernetes with allowPrivilegeEscalation: false HOT 1
- Error: mount callback failed on
- Not able to login to in-secured private registry
- [feature] built-in retry mechanism on push
- failed to load cache key: pull access denied, repository does not exist or may require authorization
- img fails to build images based on Ubuntu 22.04
- img build stucks with 100% memory consumption
- cannot reuse body, request must be retried
- img not working on AWS ECS
- 05.11 fails silently building no errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from img.