Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-redis-geo

Launch Redis server

docker run -d -p 6379:6379 --name redis atamos/docker-redis-geo

Get Redis server ip

docker inspect --format '{{ .NetworkSettings.IPAddress }}' redis
`

Launch redis client

docker run --rm -ti --name  redisclient atamos/docker-redis-geo redis-cli -h REDISIPSERVER

or with linked container

docker run --rm  -it --name client --link redis:db atamos/docker-redis-geo sh -c 'exec redis-cli -h "$DB_PORT_6379_TCP_ADDR" -p "$DB_PORT_6379_TCP_PORT"'

enter into container

docker run --rm -ti --name  redisclient atamos/docker-redis-geo /bin/bash

To see installed modules

docker run --rm -ti --name  redisclient atamos/docker-redis-geo redis-cli -h REDISIPSERVER
ip:6379> info modules

This container export /data as Volume

Docker Pull Command
Owner
atamos
Source Repository

Comments (0)