Sign inSign up

partlab/ubuntu-redis

By partlab

Updated over 10 years ago

Docker image to run an out of the box Redis server.

Image
1

876

partlab/ubuntu-redis repository overview

partlab/ubuntu-redis

Docker image to run an out of the box Redis server.

Usage
Build
$ docker build -t partlab/ubuntu-redis .
Download automated build
$ docker pull partlab/ubuntu-redis
Running the Redis server
$ docker run -d -p 6379:6379 --name redis partlab/ubuntu-redis
Running the Redis server with persistent directory
$ docker run -d -p 6379:6379 --name redis -v <data-dir>/db:/var/lib/redis partlab/ubuntu-redis
Tips
VirtualBox (boot2docker-vm)
$ boot2docker halt
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port6379,tcp,,6379,,6379"
$ boot2docker up

Tag summary

Content type

Image

Digest

sha256:ca822b209

Size

102.6 MB

Last updated

over 10 years ago

docker pull partlab/ubuntu-redis