@abucci@anthony.buc.ci Be interesting to see if true 🤞
Also, just as an aside, your assertion that Docker is too “fat” and too “corporate” is untrue IMO. I’ve been using Docker for a very long time (since ~0.7 or so) and if you take a closer look:
root@proxy:~# ls -lah /usr/bin/docker /usr/bin/dockerd
-rwxr-xr-x 1 root root 35M Jul 21 20:35 /usr/bin/docker
-rwxr-xr-x 1 root root 96M Jul 21 20:35 /usr/bin/dockerd
root@proxy:~#
Compared with Podman:
$ ls -lah /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
-r-xr-xr-x 1 prologic admin 39M Jul 21 06:13 /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
As you can see the Docker docker
client (CLI) and the Podman tool is roughly the same “weight”.
The difference is that Docker is a Server<->Client with a daemon architecture, whereas Podman runs containers directly, which is why only Linux is supported. Podman is a bit like my box project.
@abucci@anthony.buc.ci The only problem with supporting this is the API. I’d hate to have to write a whole new filtering/mutating proxy ust to support Podman 😅 I hope Podman can talk to a Remote Docker API – Because that’s all that needs to happen 🤞 – As you’re no doubt aware TLS certs are used to authenticate to the proxy as well.
Build a 6502 computer | Ben Eater Sometimes I wish I had better eyesight to do projects like this 🤣 Really cool though just watching Ben’s videos on constructing a computer mostly from scratch using the 6502 microcontroller 👌
I don’t see anything from you 🤔 Nor in the service logs 🤔
I ran some containers using podman and I think they are running remotely but I don’t know the right juju to verify. It looks right though!
Let me check…
@abucci@anthony.buc.ci Hmmm I’ve actually (funnily enough) been researching Podman … As far as I can tell, it is not compatible at all with the Docker API. It is only compatible with the Docker CLI. That means you can alias docker=podman
, but cannot use podman
as a “client” to a remote Docker API engine 😢
I also (btw) just put up a quick hacky website for it just now (dogfodding the service itself of course):
@abucci@anthony.buc.ci Yes @jmjl@tilde.green is right. This service uses the Docker API as one of its core components and thus relies on the Docker client, namely the docker
CLI. You don’t obviously need to have anything else but the CLI to use it as the containers are running remote form you. The install of the CLi is pretty quick ‘n easy on most (if not all?) systems.
@abucci@anthony.buc.ci That all makes sense 👌
@stigatle@yarn.stigatle.no That is pretty cool 👌 Good ‘ol fashioned steam engines? 🤔
@abucci@anthony.buc.ci Ahh, do you have your Github account with SSH keys? Does https://github.com/${GITHUB_USER}.keys
return keys for you? That’s what its using to do auth right now.
@xuu@txt.sour.is @movq@www.uninformativ.de The Mills DC here does about ~2TB of traffic per month 🤣 ~7TB locally.
@xuu@txt.sour.is Hmmm nope, looks like a user error on my part somehow 🤦♂️
There is duplicate entry here with slightly different content, but not much we can do about that 😅
zs starter template 👈 Note the url, I finally got a simple web app/service thiny up and running on the cas.run service (sorory no web interface yet) 🥳
if podman
“just works”™ awesome 👌
Worth giving it a go 👌 I’m not really willing to support multiple backends though, as that’s a terrible lot of work 😢
@jmjl@tilde.green No problems! Looks like maybe it is API compatible?
Podman commands are fully compatible with Docker, so you can replace one with the other: alias docker=podman . The core Podman runtime environment can only run on Linux operating systems. However, you can use a remote client for other operating systems to manage containers on the machine running Podman.12 Apr 2023
@jmjl@tilde.green We can certainly make the default action some kind of tui with charmed or such, for sure 👌
@jmjl@tilde.green Yeah I like this idea 👌 What do you mean by “normal SSH” btw? The SSH server there is custom-made, on-purpose, be pretty hard to break it as its all a custom responder.
@jmjl@tilde.green Is podman
compatible and uses the same Docker API? 🤔 I’m not sure myself.
In terms of breaking it, yes please, by all means, do try and of course let me know. I’m not sure how good any of this is just yet… Still seeing what’s possible. I’m actually trying to set-up some ingress and default routing so folks could host simple stuff. Tricky to get right 😅
Although that being said, the SSH interface isn’t too bad, with a bit more polish it could also work nicely as an alternative? 🤔
@jmjl@tilde.green That would be the plan, yeah. Right now the whole ssh thing was a quick hack to get things working. Ideally someone helps me build a swank UI for this 🤣
@movq@www.uninformativ.de Who will maintain Vim now 😢
@abucci@anthony.buc.ci Haha you’re right! I didn’t 🤦♂️ I just assumed anyone would use the same alias/username as their Github on their local machine or vice versa 🤣 It was ~3am when I wrote that and toddled off to bed, so sorry 🙏
@abucci@anthony.buc.ci Do you not have a GitHub account?
My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There’s still heaps to do, lots of “features” missing, but you can run stuff at least 😅
ssh -p 2222 cas.run help
But if you want to run a few small things that consume a few MB of memory, bugger all CPU and whatever storage, then you’re looking at only paying mere cents
@movq@www.uninformativ.de Nah not at all 😅 If anything you’ve perhaps shown me a use-case that this kind of pricing model wouldn’t work for. 👌 – Basically if you want a “machine” and the resources of a typical machine, not for you 🤣
Hmm not sure we’re on the same page with a virtual machine vs. a container 🤔
@movq@www.uninformativ.de See this kind of service wouldn’t work for you, unless you can justify what you run on your VPS and cut away all the cruft and wasted memory 😅 Here it would cost you $20/month alone in memory 🤣
@movq@www.uninformativ.de What I’m talking about here is something like this:
CPU: $0.01/month per 1% of CPU cores
RAM: $0.01/month per MB
Local Storage (_not guaranteed to be persistent_): $0 for up to 1GB
Persistent Storage: $0.01/month per GB
Throw in $0.10/month for “access feeds” and either $0 (community), $10 or $20 per month for support.
@movq@www.uninformativ.de How much of that VPS are you actually using? What do you run on it? 🤔
This would make running my pod a mere $2/month
Hmm I was a bit wrong here. I forgot to dive storage costs by another 1024
🤣
This pod would cost $9.56 to run on this model 🤔 (most of that is storage)
Just been playing around with some numbers… A typical small static website or blog could be run for $0.30-$0.40 USD/month. How does that compare with what you’re paying @mckinley@twtxt.net ? 🤔
@jmjl@tilde.green Fixed 👌 Repo had the wrong trust setting
prologic/docker-proxy: docker-proxy is a transparent HTTP proxy that proxies requests to a Docker Remote API via a local UNIX socket. It also support filtering requests and responses to enforce policies - docker-proxy - Mills – This little proof-of-concept now works 👌 And is the basis of something I was talking about, a “Container as a Service”. Now I just have to figure out billing, build some APIs and find someone with better UI/UX skillz than me to put a swank UI on it 🤣
@jmjl@tilde.green Wellt o my knowledge, no-one has every run such a service before. And to be specific, I mean where you pay to run containers and only for the resources the container uses. Normally anyone that claims to do “container hosting” essentially just rentes you a VM of some size and runs an OS on it with supporting tools and services that are designed for running containers. Not quite the same thing, becuase the price comes out at well either at VM prices or higher.
@abucci@anthony.buc.ci I think you did, we probably need to track content somehow and de-duplicate 🤦♂️
@apex@twtxt.net Oh nice! How cool 😅 Yeah there has to be some fine-turning we can work out for Android/Gradle builds that don’t consume a tonne of RAM 🤣 Under normal circumstances in Github Actions I’m sure this is fine, 3.8GB, but on your own much more constrained hardware, I’d have to shutdown a tonne of services just to run CI? 😳
@jmjl@tilde.green Di you mean Tutum Cloud that Docker bought? 🤔
I would define things these terms like this:
- Decentralised systems are those in control of the data and its locality.
- Distributed systems are systems with participating nodes in a network that cooperate in decisions with data locality over the whole network.
- Federation enables systems and users to communicate across boundaries using identities.
The key differences come down to data locality and control.
@shreyan@twtxt.net What would you do with said API(s) if they existed? 🤔
@stigatle@yarn.stigatle.no Interesting attempt but kind of lame 😆
BMW for example provide SIMs in their vehicles and up to a few years of plans with local telcos.
it’s not clear to me what happens when this runs out though 🤔
Or if you can even opt out 🤔
@shreyan@twtxt.net archived twts
@xuu@txt.sour.is Holy moly 😆
@jmjl@tilde.green Sorry I’m confused? 🤔