[SOLVED] Redis in LXC Container - best practice/container image available?

Apollon77

Well-Known Member
Sep 24, 2018
153
13
58
47
Hi All,

I plan to run a Redis Master/Slave configuration and want to use Sentinel to get a kind of HA setup. SO I thought how to best have Redis run.

And indeed I could spin up multiple VMs for that ... or ... start using LXC containers.

Is anyone here also running a Redis in LXC container? Are there COntainer Image files available for that? I google but was not able to find anything.
I also had a look at the Turnkey Linux Containers and yes there is a Redis one, but with a very old version (3.2.8 vs 5.x) and also with a lot of additional stuff I should not need.

Thank you for sharing your solutions

Ingo
 
You can just use a regular OS container template (Debian, Ubuntu, Arch Linux, etc...) from our repository and then install redis yourself (e.g. ssh into the container and apt install/pacman -S/... redis).
 
I did exactly that testwise yesterday ... looks good in general. I still experiment around a bit
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!