Category Archives: Docker

Docker-machine create machine on Cloud (DigitalOcean)

admin/ July 18, 2017/ Docker/ 0 comments

Docker-machine create machine on Cloud (DigitalOcean) Docker-machine allows you to manage the docker machines (VMs) using your local system weather VMs on AWS, Digitalocean, etc. Here, I am going to tell you how to create the docker machine on digitalocean. Step1-: Install the docker-machine in your local system using below command. $ curl -L https://github.com/docker/machine/releases/download/v0.12.1/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod

Read More

Docker build own Image using Bitrise CI/CD tool

admin/ April 24, 2017/ Docker, Linux/ 0 comments

Docker build own Image using Bitrise CI/CD tool You need three account to automate the Docker image build process. 1. Github (https://github.com) or Bitbucket (https://bitbucket.org) 2. Dockerhub (https://hub.docker.com) 3. Bitrise (https://www.bitrise.io) 1. Github/Bitbucket SignUp or Login in the Github/Bitbucket. Create an repository. Configure the Github/Bitbucket on you local system. Step 1: Create a directory and configure as below. mkdir FirstRepo

Read More

How to save and load docker image?

admin/ April 23, 2017/ Docker, Linux/ 0 comments

How to save docker image on your local disk ? To save the docker images, we need to use docker save the docker images.   To check available docker images on the system. $ docker images Example Output-: To save the docker image. $ docker save <ImageName or ImageID > filename.tar $ docker save –output filename.tar <ImageName or ImageID> Example-:

Read More

Docker-best-tutorial

admin/ April 22, 2017/ Docker, Linux/ 0 comments

What is Docker? Docker is the secret weapon of developers and IT ops teams everywhere, allowing them to build, ship, test, and deploy apps automatically, securely, and portable with no surprises. What is Docker Container? A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools,

Read More

docker alpine image for ssh

admin/ April 22, 2017/ Docker, Linux/ 0 comments

alpine-ssh A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! I have prepared this Dockerfile to enable SSH on the alpine docker container. That is completely working good. The above Dockerfile has root enabled in the ssh server as well as run ssh on the time of docker container creation.

Read More

Install Subversion and WebSVN on Docker

admin/ March 28, 2017/ Docker, Linux/ 1 comments

Use Apache Subversion (SVN) and websvn Using Docker. Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system distributed as open source under the Apache License. Software developers useSubversion to maintain current and historical versions of files such as source code, web pages, and documentation.   This is very simple to use

Read More

Install Magento2 using docker

admin/ March 20, 2017/ Docker, Linux, Magento2/ 1 comments

Install Magento2 on Docker Containers. Now its time to install the Magento 2.x or Magento1.x as you want. You can put your code, import your database and set URL. Enjoy your Magento instance. Yes, Now we come to docker. Install docker and docker-compose on your Linux machine enjoy your docker instance with few commands. It is really very easy. How

Read More

Docker Supervisor tutorial

admin/ March 15, 2017/ Docker, Linux/ 0 comments

Why Supervisor with Docker ? Generally a Docker container starts with a single process when it is launched, for example an Apache daemon or a SSH server daemon. Often though you want to run more than one process in a container. There are a number of ways you can achieve this ranging from using a simple Bash script as the value

Read More

Docker-compose.yml for mysql and phpmyadmin

admin/ January 2, 2017/ Docker, Linux/ 0 comments

Docker Compose makes dealing with the orchestration processes of Docker containers (such as starting up, shutting down, and setting up intra-container linking and volumes) really easy. Step-1: Install docker and docker-compose, Create a file with name docker-compose.yml in a directory. sudo apt-get update sudo apt-get install docker.io docker sudo apt-get install python-pip sudo pip install docker-compose Step-2: Copy and paste

Read More

Dockerfile for ubuntu14.04 ssh

admin/ December 9, 2016/ Docker, Linux/ 0 comments

Openssh server enabled in the Ubuntu 14.04 images on Docker. Use the below Dockerfile for Ubuntu 14.04 ssh server. FROM ubuntu:14.04 MAINTAINER Arvind Rawat <[email protected]> RUN apt-get update && apt-get install -y openssh-server RUN mkdir /var/run/sshd RUN echo ‘root:screencast’ | chpasswd RUN sed -i ‘s/PermitRootLogin without-password/PermitRootLogin yes/’ /etc/ssh/sshd_config # SSH login fix. Otherwise user is kicked off after login RUN

Read More