89luca89 / lilipod Goto Github PK
View Code? Open in Web Editor NEWLilipod is a simple container manager, able to download, unpack and use OCI images from various container registries.
License: GNU General Public License v3.0
Lilipod is a simple container manager, able to download, unpack and use OCI images from various container registries.
License: GNU General Public License v3.0
This is probably possible using buildkit if you're open to adding a dependency or run buildkit inside a container in daemonless mode as described here with a command similar to this:
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
this is just a wild guess, but I'm trying this on Artix linux, the distro like void or alpine has no systemD. The reason I think the problem is related to lilipod is because I remember seeing issues related to cgroupfs with other container systems involving systemD.
I might be 100% wrong and the issue could be something else, I am not a person who knows a lot about containers. If this issue is related to distrobox, then please let me know, so I can go and open the issue there instead (and sorry if that's the case).
$ distrobox enter debian
Error: could not start entrypoint.
2023/12/19 01:12:03 setup cgroupfs: mkdir /sys/fs/cgroup/container-debian.scope: permission denied
This project is very useful and I would like to donate to it
followed the steps to static install lilipod. installed the latest distrobox using wget. distrobox wants podman or docker to run.
I have an image created by distrobox.
If I try to distrobox-rm it, I can still see it in distrobox list, however if I try to delete it again, i get a messege, that there are no containers with that name.
If I try to delete it with lilipod rm, I get the same result.
However I can still see it in lilipod ps -a output.
lilipod rm -a deletes everything successfully
How can I install getsubids
on Ubuntu 22.04? I couldn't find it in the repos:
osalbahr@vclvm176-53:~/lilipod$ ./lilipod-linux-amd64
failed to find dependency getsubids, can't recover.
2023/10/08 11:01:06 exec: "getsubids": executable file not found in $PATH
osalbahr@vclvm176-53:~/lilipod$ getsubids
getsubids: command not found
osalbahr@vclvm176-53:~/lilipod$ command_not_found_handle getsubids
getsubids: command not found
osalbahr@vclvm176-53:~/lilipod$ apt-file search getsubids
osalbahr@vclvm176-53:~/lilipod$
As per the dependencies section, I tried to install uidmap
but it doesn't seem to contain getsubids
either:
osalbahr@vclvm176-53:~/lilipod$ sudo apt install uidmap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
uidmap is already the newest version (1:4.8.1-2ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
osalbahr@vclvm176-53:~/lilipod$ getsubids
getsubids: command not found
System info:
.... osalbahr@vclvm176-53
.',:clooo: .:looooo:. --------------------
.;looooooooc .oooooooooo' OS: Ubuntu 22.04.3 LTS x86_64
.;looooool:,''. :ooooooooooc Host: KVM RHEL 7.6.0 PC (i440FX + PIIX, 1996)
;looool;. 'oooooooooo, Kernel: 5.15.0-84-generic
;clool' .cooooooc. ,, Uptime: 3 days, 8 hours, 20 mins
... ...... .:oo, Packages: 3432 (dpkg), 190 (brew)
.;clol:,. .loooo' Shell: bash 5.1.16
:ooooooooo, 'ooool Resolution: 1024x768
'ooooooooooo. loooo. Terminal: /dev/pts/1
'ooooooooool coooo. CPU: 2x Intel (Haswell, IBRS) (2) @ 2.4GHz
,loooooooc. .loooo. GPU: Cirrus Logic QEMU Virtual Machine
.,;;;'. ;ooooc Memory: 1.12 GiB / 7.75 GiB (14%)
... ,ooool. Network: 2x Unknown
.cooooc. ..',,'. .cooo. BIOS: SeaBIOS 0.0 (04/01/2014)
;ooooo:. ;oooooooc. :l.
.coooooc,.. coooooooooo.
.:ooooooolc:. .ooooooooooo'
.':loooooo; ,oooooooooc
..';::c' .;loooo:'
.
Any suggestions?
I would be interested in seeing a comparison of:
lilipod run --rm -ti
podman run --rm -ti
docker run --rm -ti
to me at least, it's as interesting as exec
performance.
Also recommend using hyperfine
over time
for measuring performance:
$ hyperfine 'sleep 1'
Benchmark 1: sleep 1
Time (mean ± σ): 1.005 s ± 0.001 s [User: 0.001 s, System: 0.003 s]
Range (min … max): 1.004 s … 1.006 s 10 runs
hyperfine gives more detail about average (mean), variance, etc.
But take this with a pinch of salt, just curious. Neat project!
Hello. I'm trying to use lilipod as a lightweight container manager for running distrobox on Ubuntu Touch and SailfishOS (mobile Linux distros).
It generally works after few workarounds like a wrapper for missing getsubids
(similar to #7) and fixing subuid ranges on host. However for images like registry.opensuse.org/opensuse/tumbleweed:latest
there seems to be no way to specify the correct architecture to fetch, and it will default to incompatible amd64
on arm64
host.
I'm not very familiar with OCI tools syntax, so please mention if this can be workarounded like by specifying the arch in the URL.
Currently, the LICENSE file is missing.
You should add this in order to preserve your rights.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.