this post was submitted on 24 Apr 2025
247 points (100.0% liked)
Linux
53713 readers
785 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can confirm, works without problems in rootless podman.
Can you give me some pointers? I'm still new to docker and podman; hoping to get this going without too much learning curve to start with!
Edit: Thanks to InnerScientist's instructions below, plus some extra, I got it working. A 5-day-old lemmy comment is probably lost forever to anyone else who wants help, but just in case, here's some pointers.
systemd-immich-database
andsystemd-immich-redis
(you can find the names withpodman ps
, when they're running, as later in this thread.PublishPort=127.0.0.1:2283:2283
as below.PublishPort=2283:2283
iptables script
That puts each line at the top of iptables, before ufw or anything else. So they end up in reverse order from the script.
Sure, I set it up in nixos though this is the short form of that:
spoiler
usermod --add-subuids 100000-165535 --add-subgids 100000-165535 johndoe
$HOME/.config/containers/systemd/immich-ml.container
$HOME/.config/containers/systemd/immich.network
$HOME/.config/containers/systemd/immich-server.container
loginctl enable-linger $USER
Thank you!
Alas I can't get it to work. After some tweaking and fixing, I'm stuck that the server doesn't seem to be talking to redis, with this error,
I've been trying to learn bits of podman and docker and how to translate between the two... I think it's just a bit much for me for now! Thanks anyway, and I'm sure I'll come back and have another look at your instructions another time.
No Problem!
If you want to fix the issue: That seems like the hostname for one of the databases is wrongly set in the environment file, the hostname of containers is the same as the container name which can be read using
podman ps
.It worked! Thank you so much.
My quadlet files are now cobbled together from various sources, cross-referencing yours with the official docker compose and a couple of podman examples I found. But I now have a functioning Immich running in rootless podman, accessed through a VPS reverse proxy!
I'll edit my first comment in the chain with some tips in case someone else comes across this looking for help.