User rexray in a container for Docke Swarm openstack/magnum bays.
510
Launch the container by passing an aappropriate config.yml file with your openstack credential:
config.yml: libstorage: logging: level: info service: openstack integration: volume: operations: mount: preempt: $REXRAY_PREEMPT openstack: authUrl: $AUTH_URL userID: $TRUSTEE_USER_ID password: $TRUSTEE_PASSWORD trustID: $TRUST_ID
Run the container:
docker run -d --name=rexray --privileged
--pid host
--net host
-p 7979:7979
-v /run/docker/plugins:/run/docker/plugins
-v /var/lib/rexray:/var/lib/rexray:Z
-v /var/lib/libstorage:/var/lib/libstorage:rshared
-v /var/log/rexray:/var/log/rexray
-v /var/run/rexray:/var/run/rexray
-v /var/lib/docker:/var/lib/docker:rshared
-v /var/run/docker:/var/run/docker
-v /dev:/dev
-v /etc/rexray/config.yml:/etc/rexray/config.yml
strigazi/docker-rexray:alpine
Content type
Image
Digest
Size
16.2 MB
Last updated
over 9 years ago
docker pull strigazi/docker-rexray:alpine