brunswickheads/redis-2.8.19-s390x
redis server for ClefOS 7.2
136
Derived from the "port" by Adam Miller maxamillion@fedoraproject.org from https://github.com/fedora-cloud/Fedora-Dockerfiles Originally written for Fedora-Dockerfiles by Stephen Tweedie sct@redhat.com
Redis is often referred as a data structures server. What this means is that Redis provides access to mutable data structures via a set of commands, which are sent using a server-client model with TCP sockets and a simple protocol. So different processes can query and modify the same data structures in a shared way.
Data structures implemented into Redis have a few special properties:
Another good example is to think of Redis as a more complex version of memcached, where the operations are not just SETs and GETs, but operations to work with complex data types like Lists, Sets, ordered data structures, and so forth.
If you want to know more, this is a list of selected starting points:
Copy the sources down -
# docker build -rm -t <username>/redis:clefos7 .
# docker run -d -p 6379:6379 brunswickheads/redis-2.8.19-s390x:latest
You can use redis-cli to play with Redis. Start a redis-server container, then in another terminal try the following:
# docker exec -i -t redis redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379> set foo bar
OK
127.0.0.1:6379> get foo
"bar"
127.0.0.1:6379> incr mycounter
(integer) 1
127.0.0.1:6379> incr mycounter
(integer) 2
127.0.0.1:6379>
You can find the list of all the available commands at http://redis.io/commands.
docker pull brunswickheads/redis-2.8.19-s390x