Public | Automated Build

Last pushed: a year ago
Short Description
memcached container (standalone)
Full Description

recommended directory structure

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.

Docker Pull Command
Owner
qoopido
Source Repository