Public | Automated Build

Last pushed: a year ago
Short Description
Docker image to run an out of the box Redis server.
Full Description

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
Docker Pull Command
Owner
partlab
Source Repository

Comments (0)