prologic

twtxt.net

No description provided.

Recent twts from prologic

Oh dear god 🤦‍♂️ My stupid brain read:

I’m seeing lots of burn-ins on my screen lately

as:

I’m seeing lots of burn-ins on my street lately

🤣

⤋ Read More

@eapl.me@eapl.me yarnd is centralised if you run a large instance with a large number of users.The design of the software itself discourages an operator from doing this, the more users you have, the more resources the pod would consume. It was never designed for this.

yarnd is however strictly decentralised, with some distributed features that allow “peering pods” to talk to each other, often exchanging “missing Twts” among peers. This is useful to correct chains or fill in missing roots – Because the whole “network” is decentralised. This is one of the downsides of a decentralised system, so we had to figure out a “middle ground”.

⤋ Read More
In-reply-to » 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 ? 🤔

@mckinley@twtxt.net Nice! 👌 This gives me great hope that we might be able to build something with similar pricing, different features of course, but the use-case of “website” hosting is definitely on the cards.

⤋ Read More
In-reply-to » What if I run my Gitea Actions Runners on some Vultr VM(s) for now? At least until I get some more hardware just for a "build farm" 🤔

@xuu@txt.sour.is Mice! 👌 I like my stuff yo be rack mounted 😆 Probably gonna go for a couple of Mac Minis with a 1RU chassis you can get for ‘em from a 3rd party 🤞

⤋ Read More
In-reply-to » What if I run my Gitea Actions Runners on some Vultr VM(s) for now? At least until I get some more hardware just for a "build farm" 🤔

@xuu I do! But not a whole rack, only 3x Intel Xeon(s) pizza boxes with 2x SSD(s) ea and 32GB RAM. I’m running out of resources, disk i/o is going up, etc. I need moooar 🤣 – But actually what I really need is just a couple of “build machines” for CI and add some additional memory to the hypervisor clsuter (I think they can take up to 64GB ea)

⤋ Read More
In-reply-to » Bought myself a mountain bike today, first time (as a adult) that I have a really nice bike. it was on sale, and cost 1\3rd of the kickbike I kinda wanted. So after some thinking I decided that a bike is better for the dog (and me) then a kickbike. I assembled the bike and then went out so that he could have a long run, was awesome. I especially like it when he knows the commands I give (for left\right etc). So awesome to see him instantly know what I want him to do. He also ignored all people who walked or biked, and kept the pace throughout.

@stigatle@yarn.stigatle.no Ahhh! Like a scooter? 😅

⤋ Read More
In-reply-to » Bought myself a mountain bike today, first time (as a adult) that I have a really nice bike. it was on sale, and cost 1\3rd of the kickbike I kinda wanted. So after some thinking I decided that a bike is better for the dog (and me) then a kickbike. I assembled the bike and then went out so that he could have a long run, was awesome. I especially like it when he knows the commands I give (for left\right etc). So awesome to see him instantly know what I want him to do. He also ignored all people who walked or biked, and kept the pace throughout.

@stigatle@yarn.stigatle.no What’s a kick bike anyway? 🤔

⤋ Read More

I am so excited 🤩 I’ve been woken up early this morning by my lovely wife, to let me know there’s a truck outside out house near the cabling pits doing something. Turns out, NBN have been laying the big fibre cables around our area and finally cleaning out the pits for fibre installation! 🥳 Its only a matter of time! 🤞

Finally, my 3 years of complaining and pushing NBN have paid off 😅 #NBN #Fibre

⤋ Read More
In-reply-to » 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 😅

@jmjl@tilde.green We’re already able to do this for example:

https://hello-prologic.cas.run/

Which was just spun up using:

$ docker service create --name hello --network traefik --label traefik.enable=true --label traefik.http.services.hello.loadbalancer.server.port=80 nginxdemos/hello

It gets a bit weird when you do this in a Docker Stack using docker stack deploy though 🤣 e.g: https://prologic-prologic-prologic.cas.run/

Still trying to figure out the best default routing rule for the ingress proxy to make things easy.

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

@abucci@anthony.buc.ci Yeah I think there’s a bit more work on the Docker-compat component of Podman. I’ll try to figure this out and work with the developers of the project. 👌

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

And to be clear, we’re talking about TLS mutual authentication here too

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

See:

$ podman ps
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: failed to connect: ssh: handshake failed: knownhosts: /Users/prologic/.ssh/known_hosts:43: address [host=tcp:]: missing port in address

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

$ podman system connection add "host=tcp://localhost:2376,ca=$HOME/.docker/certs.d/localhost/ca.pem,key=$HOME/.docker/certs.d/localhost/key.pem,cert=$HOME/.docker/certs.d/localhost/cert.pem"
Error: accepts 2 arg(s), received 1

I think this should be:

$ podman system connection add localhost "host=tcp://localhost:2376,ca=$HOME/.docker/certs.d/localhost/ca.pem,key=$HOME/.docker/certs.d/localhost/key.pem,cert=$HOME/.docker/certs.d/localhost/cert.pem"

But now:

$ podman system connection list
Name        URI                    Identity    Default
localhost   ssh://@[host=tcp:]:22              true

And this doesn’t work 😢

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

But it doesn’t understand how to use TLS certs.

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

It does have this flag:

$ podman context create --help
Record destination for the Podman service

Description:
  Add destination to podman configuration.
  "destination" is one of the form:
    [user@]hostname (will default to ssh)
    ssh://[user@]hostname[:port][/path] (will obtain socket path from service, if not given.)
    tcp://hostname:port (not secured)
    unix://path (absolute path required)


Usage:
  podman context create [options] NAME DESTINATION

Options:
      --default-stack-orchestrator string   Ignored.  Just for script compatibility
      --description string                  Ignored.  Just for script compatibility
      --docker string                       Description of the context
      --from string                         Ignored.  Just for script compatibility
      --kubernetes string                   Ignored.  Just for script compatibility

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

I’ve already tried, it doesn’t quite work (yet).

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

Not quite.

[22:51:47]  <prologic> bkhl you misunderstand what I'm asking :( I'm asking whether we can add TLS support to Podman the CLI / client? It looks like it doesn't understand how to connect to a typical Docker TCP service over TLS
[22:52:52]  <prologic> e.g: Error: --docker additional options "ca=/Users/prologic/.docker/certs.d/localhost/ca.pem,key=/Users/prologic/.docker/certs.d/localhost/key.pem,cert=/Users/prologic/.docker/certs.d/localhost/cert.pem" not supported
[22:53:03]  <prologic> When running: podman context create localhost --docker "host=tcp://localhost:2376,ca=$HOME/.docker/certs.d/localhost/ca.pem,key=$HOME/.docker/certs.d/localhost/key.pem,cert=$HOME/.docker/certs.d/localhost/cert.pem"

⤋ Read More
In-reply-to » 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 😅

You then automatically get a route to http://jmlj.cas.run pinting at this service.

⤋ Read More
In-reply-to » 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 😅

@jmjl@tilde.green Right now:

docker stack deploy -c jmlj.yml jlmj

Where jmlj.yml is:

---
version: "3.8"

services:
  prologic:
    image: r.mills.io/prologic/zs
    networks:
      - traefik
    deploy:
      mode: replicated
      replicas: 1
      labels:
        - "traefik.enable=true"
        - "traefik.http.services.prologic.loadbalancer.server.port=8000"
      resources:
        reservations:
          memory: 16M
        limits:
          memory: 32M
      restart_policy:
        condition: any

networks:
  traefik:
    external: true

⤋ Read More
In-reply-to » @prologic I don't understand what you're saying. podman works with TLS. It does not have the "--docker" siwtch so you have to remove that and use the exact replacement commands that were in that github comment.

@abucci@anthony.buc.ci I asked the folks over at #pormdn on IRC and this is what they said:

[01:47:58]  <Remco> prologic: The podman executable doesn't understand anything docker, but podman does offer a compatibility api for the docker executable. So it would be the second in your or statement

I don’t think Podman is compatible with the Docker API, onl the Docker CLI.

⤋ Read More
In-reply-to » 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 😅

Hmmm if Podman can talk to a remote Docker API over SSH, this isn’t going to work 😢

prologic@JamessMacStudio
Tue Aug 08 01:20:43
~/Projects/docker-proxy
 (main) 0 0
$ podman context list
Name        URI                   Identity    Default
localhost   tcp://localhost:2376              true

prologic@JamessMacStudio
Tue Aug 08 01:20:57
~/Projects/docker-proxy
 (main) 0
$ podman --help | grep id
      --identity string           path to SSH identity file, (CONTAINER_SSHKEY)

I was never able to get the SSH version of the intercepting proxy working. I spent a couple of years on/off trying to get it to work, but there are limitations with the standard library and/or the ssh library or something that prevented the SSH Proxy from fully working See Issue #2 which I’ve now closed as “won’t fix”.

I guess Podman needs to learn how to do TLS?

⤋ Read More
In-reply-to » 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 😅

Hmmm trying this locally:

$ sh setup.sh
Error: --docker additional options "ca=/Users/prologic/.docker/certs.d/localhost/ca.pem,key=/Users/prologic/.docker/certs.d/localhost/key.pem,cert=/Users/prologic/.docker/certs.d/localhost/cert.pem" not supported

Not support for TLS?

⤋ Read More
In-reply-to » @prologic I don't get your objection. dockerd is 96M and has to run all the time. You can't use docker without it running, so you have to count both. docker + dockerd is 131M, which is over 3x the size of podman. Plus you have this daemon running all the time, which eats system resources podman doesn't use, and docker fucks with your network configuration right on install, which podman doesn't do unless you tell it to.

@abucci@anthony.buc.ci Yeah okay, you make some excellent points 👌 😅

⤋ Read More