• imminent_nebula@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 hours ago

    I moved to Linux a while back and only discovered docker after setting everything up. Haven’t got around to learning about it yet, Linux itself was a lot of info lol. Do you use docker containers for like every app you install? Like if I start with an old laptop and try syncthing, should that be installed in a docker container?

    • WhiteOakBayou@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      I use it for every server app I install. Mainly because it easier to migrate applications between machines. Docker gives you a consistent build environment so you don’t have to worry about having 12 versions of Python installed and they are all wrong and then when you find the right one it breaks something else (this was never a common problem for me but it is annoying when it happens.) So, using docker-compose (recommended over cli commands because you can see all in one place what everything does and where it goes) you just edit the compose file to fit your scenario and build it. It is pretty easy and fast. When and if you decide you want everything accessible from the Internet you can read a few guides and knock it out in an afternoon. The reverse proxies can also be run as containers. Here’s the page for the sync thing container. To use it, install docker, create the folders the container calls for, edit the compose file as necessary, go to the folder the compose file is located in and run docker compose up -d and your build will start