ababup1192
2/8/2015 - 4:11 PM

Redis docker and fig

Redis docker and fig

redis:
  image: dockerfile/redis
  ports:
    - "6379:6379"

Getting started

start redis server daemon

fig up -d

using redis

fig run redis redis-cli -h redis  # (please push long enter key..)

tutorial redis

insert

set num 10
set str hello
lpush mylist firstvalue
lpush mylist secondvalue
lpush mylist thirdvalue

find

get num
get str
lrange mylist 0 -1