Docker Deployment tools

  • (4.0)
  • | 1007 Ratings |
  • Last Updated February 15, 2017

Docker deployment can frustrate most of the Docker users. However, there are tools which have been developed so as to help in solving this problem. Let us discuss some of these tools.

Learn how to use Docker, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Enroll for Free Docker Training Demo!


We need to demonstrate how we can use this tool so as to deploy the Docker. In the configuration directory, you should have a configuration file with the following code:
“scripts”: [
“command”: “/root/”,
“args”: [
Note that in the above code, we have a script named “” The following is the code for the script:
# /root/
if [ -z “$1” ]
echo “usage : 4 — starting four new instances”
exit -1
echo “Getting the gablog containers which are currently running”
OLDPORTS=( `docker ps | grep gacademy-web | awk ‘{print $1}’` )
echo “pull the new version”
docker pull bkn/gacademy-web
echo “Launching new containers”
for j in `seq 1 $1` ; do
docker run -d -e -p 80 bkn/gacademy-web
echo “remove the old containers”
for j in ${OLDPORTS[@]}
echo “remove the old container $j”
docker kill $j
The container might look complicated to some of you. However, it looks for the containers which are running, and then it stores them. For the case of the old containers, they are deleted from the system. You can then run the command given below:

                                       Checkout Docker Interview Questions

The command will launch captainhook and the configuration directory which we have specified. You can then use curl for the purpose of testing this:


A simple response from the server should be observed. The container should also be running by this time, and this can be verified by execution of the “docker ps” command. To make the script “” executable, use the following command:
chmod +x
The deployment process will give us the following:


Explore Docker Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

List Of MindMajix Docker Courses:

Subscribe For Free Demo

Free Demo for Corporate & Online Trainings. Protection Status