Docker playground
C# Roff C++ Shell CSS JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BAuth
Elk
Jenkins
Kafka
Nginx
Prometheus
Redis
Tick
Zoo
.gitignore
Dockerfile.gluster-3.5
Dockerfile.gluster-3.7
Dockerfile.glustersamba-3.5
Dockerfile.glustersamba-3.7
Dockerfile.linuxdev
Dockerfile.linuxtools
Dockerfile.mongo
Dockerfile.node
Dockerfile.powershell
Dockerfile.ucarp
README.md
build-dockerimages.bat
glustersamba-setup.sh
ucarp-down.sh
ucarp-run.sh
ucarp-ucarp.sh
ucarp-up.sh

README.md

HelloDocker

Docker playground

Dockerfile.gluster*: GlusterFS Volume as Samba Share

Mount the GlusterFS Volume and expose it as Samba Share

Usage

docker run --name glustersamba --cap-add SYS_ADMIN --device /dev/fuse --rm -e glusterip=Gluster-Server-IP -e glusterhost=Gluster-Server-FriendlyName -e glustervolume=Gluster-Volume-Name -p 138:138/udp -p 139:139 -p 445:445 -p 445:445/udp -it khurramaziz/gluster

  • where Gluster-Server-IP, Gluster-Server-FriendlyName and Gluster-Volume-Name are as per your Gluster environment

Details

Notes

Its built with intention for Raspberry PI based Gluster environment; at the time of build, out of the box Gluster 3.5.2 is available for PI using its package repository; however 3.5.7 is also available at https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.3/Raspbian/jessie/

Dockerfile.linuxtools

http://weblogs.com.pk/khurram/archive/2016/07/20/visual-c-for-linux-development.aspx

Dockerfile.mongodb, Dockerfile.node

http://weblogs.com.pk/khurram/archive/2016/07/04/dockerizing-mongo-and-express.aspx
http://weblogs.com.pk/khurram/archive/2016/07/11/docker-compose.aspx

Dockerfile.ucarp: Virtual / Floating IP with UCARP for High Availability

Assign Virtual / Floating IP with UCARP to your Docker Host for High Availability.

Usage

docker run --rm --cap-add=NET_ADMIN --net=host -it khurramaziz/ucarp 10.0.75.20 foobar

  • where 10.0.75.20 is the floating / virtual ip and foobar is the password

Details

https://debian-administration.org/article/678/Virtual_IP_addresses_with_ucarp_for_high-availability

Credits

Scripts are taken from