I have tried installing it with docker on Ubuntu 20.04 and 22.04 LTS but cannot seem to get it working. The build keeps erroring out with docker errors.

  • seang96@spgrn.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    If your using docker I recommend getting a docker-compose file that does 98% of the config work for you. Pretty sure there’s one in the install docs.

    • TCGM@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      I’ve been having trouble understanding how the docker-compose thing works, and the whole… impermanence of docker containers. Got any tutorials you’d recommend? Note I’m on Windows.

      • mim@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Are you planning to host it on a Windows machine?

        If you don’t have experience with docker, don’t jump straight to docker compose. Start simpler.

        If you want to have data persist after a container is killed, have a look at the -v option of “docker run”. It allows you to mount a volume.

  • lazynooblet@lazysoci.al
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I’ve been having issues with 0.17.4. I saw people suggesting a non-docker, build from git method but really wanted docker to work.

    I’m now using 0.18.0-rc.4. Built without issue using the dockerhub image and has been stable for 24hrs

  • ctr1@fl0w.cc
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I was able to get it running from source on Gentoo (without docker). Building from source is an option but you need to manage the dependencies and daemons yourself. This is my first comment! Good luck with your setup

  • aggelalex@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    You are using two technologies that have a bad of working like shit, together; Ubuntu/snap and docker. You can try podman if you want, or a different distro. Or, at least, install the official docker way.

  • useful_idiot@lemmy.eatsleepcode.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    The docker compose stack is pretty straightforward, i just use the images dessalines/lemmy:0.17.4 and dessalines/lemmy-ui:0.17.4 instead of trying to build them

  • TheOneCurly@feddit.online
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I had some luck with the prebuilt images from dessalines’ dockerhub and using the compose file in the repo with logging commented out.

    It was stable for about a week before I tried to update and broke my database and federation completely. I might try again when 0.18 stable drops.

  • marsta@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If you post your configs and errors we might be able to help you. I set up a vm with docker compose and proxy it through traefik instead of nginx

  • Lupec@lemmy.lpcha.im
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Not specific to Lemmy but ubuntu’s weird snap version of docker has given me random issues in the past, perhaps that could be the issue. Installing docker by following the official instructions means you are guaranteed to get a fully functional install and that’s one variable you wouldn’t have to worry about at least.

    Edit: Forgot to mention but I’m running it on docker myself, I just followed the official documentation and whatnot. Using a debian 11 based LXC on Proxmox.