"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Jump
Anyone put Lemmy in a LXD Container?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDA
    DaveP
    Now 100%

    I have several LXDs running docker containers without any issues. They are set up similar to a VM and work in pretty much the same way. Just install docker inside it. I did try and set up the first ones in a VM and it was exactly the same as installing on LXD except the LXD images were easier to manage and always ended up much smaller in size. Once created LXD, VM and Metal are treated the same for an install. All on their own IP and called in exactly the same way https://<HOST IP>

    I did try it in a VM just in case and Lemmy doesn't start when I do that either. As I don't have access to other systems I asked a friend to try installing it and he could get it going just using the docker-compose script never mind in LXD.

    Is there a straight install awaiting that doesn't use ansible so I can try that.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Jump
    Anyone put Lemmy in a LXD Container?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDA
    DaveP
    Now 100%

    Thank you for the reply. I understand that having multiple containers is normal especially in docker. I just like my systems to be tidy.

    I don't know how to delay the start of the app in docker compose and I did look. All it did was hang the system.

    I have also tried connecting to the db on its own that works fine.

    But I've actually discovered that when I get the containers up and running by starting each manually, which means it won't survive a restart, I can't get the app to start. I get a 502. Which seems to cover a multitude of sins.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support DaveP Now 80%
    Anyone put Lemmy in a LXD Container?

    I've a QNAP NAS and don't like having muliple docker containers for the same App. If Apps have multiple containers I wrap them in a LXD container. When I do that with Lemmy It fails all the time with password issues on the DB. Even when I know the passwords are right. I've had the same issues with Docker but it does start eventually.

    3
    5
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDA
    Now
    1 2

    DaveP

    lemmy.ml