You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This a complex problem related to Redis network stack implementation.
The net effect is Redis can't run inside normal containers.
The work around (which can't be used in a real runtime environment), looks like maybe making both the container where Redis runs + any containers which reference the Redis instance all be unprivileged containers... which completely breaks container security...
Likely good to fix this, to support Redis being used in LXD containers.
this is still an issue with a debian 10 privileged lxc container on proxmox
May 06 08:48:28 xxx systemd[531]: redis-server.service: Failed to set up mount namespacing: Permission denied
May 06 08:48:28 xxx systemd[531]: redis-server.service: Failed at step NAMESPACE spawning /usr/bin/redis-server: Permission denied
This a complex problem related to Redis network stack implementation.
The net effect is Redis can't run inside normal containers.
The work around (which can't be used in a real runtime environment), looks like maybe making both the container where Redis runs + any containers which reference the Redis instance all be unprivileged containers... which completely breaks container security...
Likely good to fix this, to support Redis being used in LXD containers.
https://github.com/lxc/lxd/issues/3799 explains the problem.
I'm opening this ticket, as it appears no one has opened a similar ticket.
To reproduce...
lxc launch ubuntu:bionic redis
lxc exec redis bash
apt-get install redis-server
redis-cli ping
Could not connect to Redis at 127.0.0.1:6379: No route to host
Looking at tcpdump... wow... Redis networking seems very odd...
The text was updated successfully, but these errors were encountered: