Help Running NC19 as a Container w/ Persistent Data, Using Podman & Podman-Compose

Hello,

For some time I’ve been trying to find the best way to set up NC in a way that’s
simple & clean (so that I can blow it away & start from scratch),
has persistence, will allow access to files on a bare-metal (software RAID) filesystem, and also secure enough to run on a home server 24/7.

I’d determined, with the help of the Spiceworks & Level1Techs communities that
setting NC up as a Docker instance was the simplest effective solution to
accomplish this.

Unfortunately, I’ve never been able to get this to fully work. Docker never has
seemed to play nice for me. I started trying to set this up a year ago with
docker-compose & the recommended configuration on the official docker image
github page. I had issues getting the nextcloud container to connect with the
MariaDB container. My efforts have seen Docker be displaced in favor of Podman,
which seems to work more reliably OOTB (with the help of the ArchWiki), but I
continue to somehow have DNS issues inside of containers.

I’m hoping to get this working once-and-for-all. I’m hoping that with this topic
I can document the solutions to pitfalls that I run into, and hopefully get some
input from you guys on what best-practices I should be aware of. Any
references to things that I might find useful would be greatly appreciated.

Thank you,

1 Like

Try following my guide to get it running in Docker. I’ve been able to replicate this setup several times.