This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.1" | |
# See https://docs.docker.com/compose/compose-file/ | |
# | |
# Purpose -- stackfile to spin up a jenkins stack (master + workers) | |
# Stack needs volumes and secrets to be already defined in the Swarm. | |
# (c) Docker 2017 | |
# | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum remove docker \ | |
docker-common \ | |
container-selinux \ | |
docker-selinux \ | |
docker-engine | |
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |
sudo yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Run as root to protect against the purged packages bug below | |
# | |
# Update package manager | |
apk update | |
# Add missing package -- this will trigger some package removals (https://github.com/docker/editions/issues/675) | |
apk add alpine-sdk > apk_output.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Run as root to protect against the purged packages bug below | |
# | |
# Update package manager | |
apk update | |
# Add missing package -- this will trigger some package removals (https://github.com/docker/editions/issues/675) | |
apk add alpine-sdk > apk_output.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Run as root to protect against the purged packages bug below | |
# | |
# Update package manager | |
apk update | |
# Add missing package -- this will trigger some package removals (https://github.com/docker/editions/issues/675) | |
apk add alpine-sdk > apk_output.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swarm-manager000006:~$ sudo rexray volume ls | |
INFO[0000] updated log level logLevel=debug | |
DEBU[0000] os.args time=1494977315526 val=[rexray volume ls] | |
DEBU[0000] activating libStorage cmd=ls time=1494977315526 | |
DEBU[0000] parseSafeHost - no change postParse=unix:///var/run/libstorage/406989259.sock preParse=unix:///var/run/libstorage/406989259.sock time=1494977315529 | |
DEBU[0000] read spec file host=unix:///var/run/libstorage/406989259.sock path=/var/run/rexray/rexray.spec time=1494977315529 | |
DEBU[0000] is local unix server active sock=/var/run/libstorage/406989259.sock time=1494977315529 | |
DEBU[0000] set host in context host=unix:///var/run/libstorage/406989259.sock time=1494977315530 | |
DEBU[0000] set host in config host=unix:///var/run/libstorage/406989259.sock time=1494977315530 | |
DEBU[0000] not starting embe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swarm-manager000000:/home/docker# rexray volume mount myvolume2 | |
INFO[0000] updated log level logLevel=debug | |
DEBU[0000] os.args time=1494962294201 val=[rexray volume mount myvolume2] | |
DEBU[0000] activating libStorage cmd=mount time=1494962294201 | |
DEBU[0000] parseSafeHost - no change postParse=unix:///var/run/libstorage/930586076.sock preParse=unix:///var/run/libstorage/930586076.sock time=1494962294206 | |
DEBU[0000] read spec file host=unix:///var/run/libstorage/930586076.sock path=/var/run/rexray/rexray.spec time=1494962294206 | |
DEBU[0000] is local unix server active sock=/var/run/libstorage/930586076.sock time=1494962294207 | |
DEBU[0000] set host in context host=unix:///var/run/libstorage/930586076.sock time=1494962294207 | |
DEBU[0000] set host in config host=unix:///var/run/libstorage/930586076.sock time=1494962 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swarm-manager000000:~/rexray_0.9.1$ docker run -it -v myvolume1:/mv busybox /bin/bash | |
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/8e341ab829ce6d2ae3d2509d23736413be92375a4576af65d66ade1584115f38/rootfs': VolumeDriver.Mount: {"Error":"missing instance ID"}. |