Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. There's one last thing I need to get my head around with respect to using FreeBSD jails as a replacement for docker/podman.

There's one last thing I need to get my head around with respect to using FreeBSD jails as a replacement for docker/podman.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
freebsdjailsdockerpodmanrunbsd
2 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • rootmoose@mastodon.bsd.cafeR This user is from outside of this forum
    rootmoose@mastodon.bsd.cafeR This user is from outside of this forum
    rootmoose@mastodon.bsd.cafe
    wrote sidst redigeret af
    #1

    There's one last thing I need to get my head around with respect to using FreeBSD jails as a replacement for docker/podman.

    I generally configure containers as totally ephemeral. Any data or individual files that a container uses, and that I care to keep, resides outside the container. It is linked inside via volumes defined in the run shell script or compose file. In some cases even dumb things like root's .bashrc gets linked in so that nuking a container doesn't lose the shell history the next time something needs hand fettling (mediawiki, maintenance scripts, composer, bootstrap, and friends - yes, needs more automation).

    Any time a container gets restarted, step one may be to delete the container (and associated volumes it creates), re-pull latest and instantiate fresh. This is pretty typical for Jellyfin for example.

    Also, working this way means that the entire backup process can exist outside the container volumes and nothing redundant in /var/lib/docker needs to get backed up.

    Anyway, I need to figure out how to achieve something similar under FreeBSD jails. I'm assuming there is something in ZFS that provides a similar type of functionality during jail startup but haven't dug into it yet.

    Then there's the 'correct' and easy way on how to upgrade the software inside a jail (os components and services the container runs) that needs experimentation on my side. Some scripting to do.

    Jails seem much more elegant but there is lot of old cruft and 'finger memory' to work around. Ha. A lot of stuff is pre-wired and ready to go for regular usage in Linux containers in comparison, I think.

    The journey continues.

    #FreeBSD #jails #docker #podman #RunBSD

    uramihsasum@social.vivaldi.netU 1 Reply Last reply
    1
    0
    • rootmoose@mastodon.bsd.cafeR rootmoose@mastodon.bsd.cafe

      There's one last thing I need to get my head around with respect to using FreeBSD jails as a replacement for docker/podman.

      I generally configure containers as totally ephemeral. Any data or individual files that a container uses, and that I care to keep, resides outside the container. It is linked inside via volumes defined in the run shell script or compose file. In some cases even dumb things like root's .bashrc gets linked in so that nuking a container doesn't lose the shell history the next time something needs hand fettling (mediawiki, maintenance scripts, composer, bootstrap, and friends - yes, needs more automation).

      Any time a container gets restarted, step one may be to delete the container (and associated volumes it creates), re-pull latest and instantiate fresh. This is pretty typical for Jellyfin for example.

      Also, working this way means that the entire backup process can exist outside the container volumes and nothing redundant in /var/lib/docker needs to get backed up.

      Anyway, I need to figure out how to achieve something similar under FreeBSD jails. I'm assuming there is something in ZFS that provides a similar type of functionality during jail startup but haven't dug into it yet.

      Then there's the 'correct' and easy way on how to upgrade the software inside a jail (os components and services the container runs) that needs experimentation on my side. Some scripting to do.

      Jails seem much more elegant but there is lot of old cruft and 'finger memory' to work around. Ha. A lot of stuff is pre-wired and ready to go for regular usage in Linux containers in comparison, I think.

      The journey continues.

      #FreeBSD #jails #docker #podman #RunBSD

      uramihsasum@social.vivaldi.netU This user is from outside of this forum
      uramihsasum@social.vivaldi.netU This user is from outside of this forum
      uramihsasum@social.vivaldi.net
      wrote sidst redigeret af
      #2

      @RootMoose

      Please continue sharing about this journey. I'm playing with the idea to run some parts of my systems in freebsd and in jails and in theory it seems rosy but that's only theory 😄

      1 Reply Last reply
      0
      • mjack@mastodon.bsd.cafeM mjack@mastodon.bsd.cafe shared this topic
      Svar
      • Svar som emne
      Login for at svare
      • Ældste til nyeste
      • Nyeste til ældste
      • Most Votes


      • Log ind

      • Har du ikke en konto? Tilmeld

      • Login or register to search.
      Powered by NodeBB Contributors
      Graciously hosted by data.coop
      • First post
        Last post
      0
      • Hjem
      • Seneste
      • Etiketter
      • Populære
      • Verden
      • Bruger
      • Grupper