ababup1192
2/9/2015 - 12:20 AM

Memcached docker and fig

Memcached docker and fig

memcached:
  image: memcached
  ports:
    - "11211:11211"

Getting started

start memchaced server daemon

fig up -d

using memchaced

telnet dockerhost 11211 # please set up Dockerhost

#Tutorial memchaced

set and get

set foo 0 100 3
bar

get foo

several function

set counter 0 0 1
1

incr counter 1
decr counter 1
set test 0 0 4
test

prepend test 0 0 3
bow

append test 0 0 5
wanko

delete test
flush_all