Docker redis port 6379 issue

docker
redis

#1

Im having an issue with docker redis and port 6379 not working.

Creating dockerrails_redis_1
ERROR: Cannot start container cfade3735cb7d048eee2e0f61567eae85dc0c8de48e07872909e30febbbdeb6c: listen tcp 0.0.0.0:6379: bind: address already in use

Once I removed it, it was fine. Anything im missing?


#2

It looks like there may already be another instance of redis running. Can you SSH into the build and run ps ax | grep redis to check?


#3

I got this on initial start

3204 ?        Ssl    0:00 /usr/local/bin/redis-server *:6379

I ended up changing the port in my docker-compose.yml file and it compiled fine.


#4