Sign inSign up

qoopido/memcached

By qoopido

•Updated almost 10 years ago

memcached container (standalone)

Image
1

2.2K

qoopido/memcached repository overview

Like with my other containers I encourage you to follow a unified directory structure approach to keep things simple & maintainable, e.g.:

project root
  - docker-compose.yaml
  - data
  	- memcached
  	  - logs

⁠Example docker-compose.yaml

memcached:
  image: qoopido/memcached:latest
  ports:
   - "11211:11211"
  volumes:
   - ./data/memcached:/app/data

⁠Or start container manually

docker run -d -P -t -i -p 11211:11211 \
	-v [local path to data]:/app/data \
	--name memcached qoopido/memcached:latest

⁠Configuration

If you need a custom shell script to be run on start or stop (e.g. to set symlinks) you can do so by creating the file /app/config/up.sh or /app/config/down.sh.

Tag summary

Content type

Image

Digest

Size

191.5 MB

Last updated

almost 10 years ago

docker pull qoopido/memcached