title: Unable to connect in RedisLabs/Redis container as root user
body: <p>I'm trying to disable firewall inside redislabs/redis docker container, in order to create a new Redis database (according to <a href="https://forum.uipath.com/t/haa-cannot-allocate-nodes-for-shards-when-creating-redis-db/310838" rel="nofollow noreferrer">https://forum.uipath.com/t/haa-cannot-allocate-nodes-for-shards-when-creating-redis-db/310838</a>). I need to connect in this container as root user, however the default user is 'redislabs' and I've not found anywhere what's this user's password. Moreover, the 'root' user in this container is not exactly a superuser.</p>
  <p>The commands that was executed are listed below:</p>
  <p>Creating a container based on Redis official image:</p>
  <p><code>docker run -d --cap-add sys_resource -h re-node1 --name re-node1 -p 18443:8443 -p 19443:9443 -p 14000-14005:12000-12005 -p 18070:8070 redislabs/redis:latest</code></p>
  <p>Starting cluster:</p>
  <p><code>docker exec -it --privileged re-node1 &quot;/opt/redislabs/bin/rladmin&quot; cluster create name re-cluster.local username demo@redis.com password redislabs</code></p>
  <p>Checking cluster's state:</p>
  <p><code>docker exec -it re-node1 bash -c &quot;/opt/redislabs/bin/rladmin info cluster&quot;</code></p>
  <p>Connecting in container as root:</p>
  <p><code>docker exec -u 0 -it re-node1 bash</code></p>
  <p><code>root@re-node1:/opt# iptables -L</code></p>
  <p><code>iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)</code></p>
  <p><code>Perhaps iptables or your kernel needs to be upgraded.</code></p>
  <p>More details: <a href="https://github.com/redis-field-engineering/redis-connect-dist/blob/main/examples/oracle/demo/setup_re.sh" rel="nofollow noreferrer">https://github.com/redis-field-engineering/redis-connect-dist/blob/main/examples/oracle/demo/setup_re.sh</a></p>