osx - How can I connect to Redis server in a Docker Container from Redis Desktop Manager in Mac? -


i have configured macbook docker , docker-compose, configuration in docker-compose.yml redis following:

redis: image: redis:3.0.6 container_name: cache

redis working, want access them redis desktop manager (or similar) host (the macbook). ip of virtual machine is: 192.168.99.100 , tried configure ip , 6379 port without success. knows how can have configure redis desktop manager access redis server in docker container?

thanks in advance.

you need expose port 6379 on docker-machine add docker-compose.yml

redis:   image: redis:3.0.6   container_name: cache   ports:    -6379:6379 

you should able access on (docker-machine ip (your machine id)):6379


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -