gi=GLUSTERVERSION, -glusterinstall=GLUSTERVERSION Gluster Volume Creation inside containers - Valid Image tag name - Containers will be assigned this tagĬOnfig file path to read gluster configuration -ĭocker file path to build the container -ĭocker repository name with a trailing blackslash. Image name - Containers will be based on this image g, -gluster_mode Configure gluster volume in containers b, -buildimage Whether to build image from the dockerfile? Need to s, -startc Whether to start from an image ? Need to specify image p, -pullimage Whether to pull from the docker repo ? Need to specify d, -dry_run Do dry run - dont try to install any packages h, -help show this help message and exit (-gv) -> To auto configure Gluster Volume Run container from existing image (-s) -> requires -i and -t -n Ĭreate and start gluster containers (-g) -> Effective only with -s option Build from dockerfile and Run Containers (-b) -> requires -f and -t Ĥ. Pull image from docker repo and Run containers (-p) -> requires -i and -r ģ. Install and Run Docker deamon (-d) -> dryrunĢ. Invoke dockit with any of (-d, -p, -b, -s) optionsġ. UPDATE kubernates and other solutions are getting evaluated to achieve this functionality. Make dockit accept "containers" ( ID/HOSTNAME/IP) (I prefer containers IDs as an input to binary) and start working on gluster mode.Īlso try to accept multi nodes as command input and configure a cluster/trusted pool based on multi nodes. UPDATE : The password dependency is removed from Version 2.0 : Its now prompted from user when operating on gluster mode. If we want to install gluster on spawned containers, ssh deamon should be running in those images with password "redhat", The password dependency has to be nullified and it has to be fetched from a config file. UPDATE: Support for ubuntu added from version 2.0 TODO:Ĭurrently dockit is supporting fedora, centos, rhel as base system or host OS, expand dockit to support ubuntu and other OSs. On your workstation, dockit]# cat 7: Use it and Report bugs/comment/suggestions/RFEs, if you come across any. This is great for development work on Dockit. You may have solution there itself.įor ease-of-use, this repository includes a Vagrantfile so you can use Vagrant and VirtualBox to get Dockit up and running very quickly on a CentOS 7 VM. If you come across any issues when running the dockit binary with options, please refer "Troubleshooting_guide.md". When running this binary it may require 'image tag' at times, you can use default tag called 'latest' if you dont have any other choice. If you are trying to install GlusterFs binary for a particular version (-gi) its better to use an image which has glusterfs build prerequisites installed ( )& ssh deamon running( the password will be prompted when gluster mode is enabled), such an image can be found here:, otherwise it can take long time.įinally read the "help" output to use this in its full strength. The password will be prompted from the user if invoked in gluster mode. The image which you use for gluster deployment should have "ssh" deamon running in it. How-ever if you have specified base image in docker file, it should work. If you are running in RHEL6 systems, please subscribe to EPEL channels as mentioned here ( )to make docker packages available.īase/official image 'pulling' (ex: ubuntu official image) is disabled for this version. Install python-setuptools package or make sure you have 'setuptools' module available in your python path. This binary can be used to install any number of containers running with specified version of glusterfs binaryĪnd also to deploy gluster trusted pool on containers.This binary can start containers based on provided image.This binary can build containers based on dockerfile.This binary can be used to pull docker images.This binary is capable of starting docker deamon if its not running in your system.Installing required docker packages in fedora/centos/rhel for docker.Īll you need to do is, mount gluster volume in your client!! The gluster volume is created automatically ( volume name can be given as user input) from the exported bricks. When in gluster action mode, it can be used to start any number of containers using the bricks exported ( configuration read from the config file) from host system. This is also glued with gluster (-g option of this binary) wrt huge gluster deployment. etc) and to also help massive deployment of containers. Dockit is an application to make your life better wrt managing docker actions (ex: run, pull, build, create, start.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |