1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-14 02:06:32 +00:00

Refactored to include only the Docker Swarm design

This commit is contained in:
David Young
2017-07-16 20:42:12 +12:00
parent 4824ea7be3
commit 8f4ef98a1a
7 changed files with 120 additions and 29 deletions

View File

@@ -203,7 +203,7 @@ echo "$HOSTNAME:/gv0 /srv/data glusterfs defaults,_ne
mount -a && mount
```
mount -t glusterfs ds1:/gv0 /srv/data/
mount -t glusterfs ds1:/gv0 /srv/data/
on secondary
@@ -239,8 +239,8 @@ https://github.com/dpw/selinux-dockersock
````
mkdir ~/dockersock
cd ~/dockersock
curl -O https://github.com/dpw/selinux-dockersock/raw/master/dockersock.te
curl -O https://github.com/dpw/selinux-dockersock/raw/master/Makefile
curl -O https://raw.githubusercontent.com/dpw/selinux-dockersock/master/Makefile
curl -O https://raw.githubusercontent.com/dpw/selinux-dockersock/master/dockersock.te
make && semodule -i dockersock.pp
````
@@ -287,3 +287,10 @@ To this:
}```
!!! note the comma after "false" above
docker run -d --name nfsd --restart always --privileged -v /mnt/data:/mnt/data -e SHARED_DIRECTORY=/mnt/data --network=host itsthenetwork/nfs-server-alpine:latest