Public Repository

Last pushed: a year ago
Short Description
Used to mount volumes and manage volumes on a single node -- see ../docker/volume-mgr
Full Description

cat Dockerfile

FROM alpine:3.3
ENTRYPOINT ["/bin/ash", "-c", "sleep 100000000"]

----------------------------------------------------

cat docker-compose.yml

See notes:

  • We use this image to load volumes on behalf of all other containers on this host
    version: '2'
    services:
    volume-mgr:
    image: spaster/alpine-sleep
    container_name: volume-mgr
    build: .
    environment:
    • PHYSICAL_HOST="$HOSTNAME"
      logging:
      driver: json-file
      network_mode: "bridge"
      ulimits:
      nproc: 65535
      nofile:
      soft: 20000
      hard: 40000
      volumes:
    • /home/docker/volumes/logs/es1:/usr/share/elasticsearch/logs
    • /home/docker/volumes/data/es1:/usr/share/elasticsearch/data
    • /home/docker/volumes/config/es1:/usr/share/elasticsearch/config
    • /home/docker/volumes/data/mongo:/data/db

Docker Pull Command
Owner
spaster