EDIT: For some context, I recently gave podman another go. I have a few services on my homelab server set up in docker containers, so I tried migrating to podman.

After the second major bug (open issue on github) I encountered looked like it would require completely dropping using compose files to work around, I gave up and went back to docker.

I like the idea of podman, but it’s just not stable. I’ll try again in a year or so.

As a bonus, docker’s CLI is significantly nicer.

  • diaphragmwp@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 days ago

    Why would you use podman when you could

    #!/bin/ksh
    
    daemon_execdir="/home/etebase/src"
    daemon_logfile="/var/log/etebase"
    daemon="/home/etebase/pyenv/bin/uvicorn"
    daemon_flags="etebase_server.asgi:application --host 159.100.247.89 --port 8000"
    daemon_user="_etebase"
    
    . /etc/rc.d/rc.subr
    
    rc_bg=YES
    rc_reload=NO
    
    pexp="/home/etebase/pyenv/bin/python3 ${daemon} ${daemon_flags}"
    
    rc_start() {
            rc_exec ". ~/.profile; ${daemon} ${daemon_flags} >> ${daemon_logfile} 2>&1"
    }
    
    rc_cmd $1