• 1 Post
  • 2 Comments
Joined 3 years ago
cake
Cake day: August 5th, 2023

help-circle
  • One thing the author probably hasn’t done yet or just doesn’t mention is that you can configure .container services with systemd-podman units (often called quadlets), e.g. a simple MariaDB container would look like this:

    [Unit]
    Description=MariaDB container
    
    [Container]
    Image=docker.io/mariadb:latest
    Environment=MYSQL_ROOT_PASSWORD=rootpassword
    Environment=MYSQL_USER=testuser
    Environment=MYSQL_PASSWORD=testpassword
    Environment=MYSQL_DATABASE=testdb
    
    [Install]
    WantedBy=multi-user.target
    

    Short intro Full reference

    This is superb, because it means your containers finally feel well-integrated with the rest of the OS and you can use systemctl, journalctl, etc. just like you would with other services.

    Personally, I use this as an alternative to Podman/Docker compose and have been very happy with it running rootless containers from Nextcloud, Pufferpanel, Forgejo, Authentik, etc. (ask me for .container files if you need any help, I’m currently working on a small repo with a collection)


  • I couldn’t find that quote anywhere, and it’s very unlikely that Cicero said it, or something like that.

    Iirc Tacitus said something similar, roughly: “the higher the number of laws the more corrupt an empire is”.

    The statement wouldn’t have made sense from Cicero as that wasn’t really a position he would have held, or even a position he found himself in at all in his defence of the republic (because this wasn’t really a problem at the time, or at least not the biggest one)