Docker



docker

Docker: Attaching an external volume to a container

By default, when we deploy a container using an image, the container is supposed to have all files required to run, and do its job. Let us take an example of a basic appache server…


docker

Docker: backup and restore of a database

It is very important to backup databases deployed using containers. Else once the container stops, all data in it will be gone. For this exercise we will continue the example used in previous post that created…


docker

Docker: Docker-compose – A wordpress site

The docker-compose is a CLI tool that automates some very long arguments we other wise will be passing to “docker run” command. This tool will also help us to start multiple containers at the same time. In real…


docker

Docker container: Build images from a container

Like we can create an image from a Dockerfile, we can create a container from an image too. The steps to do that is as follows: Deploy a container from an image: [root@gw20-lap-doc1 sandbox]# docker…


docker

Docker: Running Docker commands

This tutorial is a continuation of a previous post Docker: Installation and basics The command to run a container from an image is: [root@gw20-lap-doc1 ~]# docker run <image name> The command docker run image is same as…


docker

Docker Swarm: Introduction and basics

A docker instance is good to run task in a small scale. However as the traffic increases, or when more processing power is required, when we want to scale-up the infrastructure, the way to move…


docker

Docker container: Build images – Dockerfile 1

This tutorial will guide the reader to create a Docker image with apache web server running on a CentOS operating system. If you are new to Dockers, please click here to access the installation and…


docker

Docker: Installation and basics

This tutorial is aimed to teach one how to install Docker in CentOS 9 base host, and to perform basic tasks.   Quick Notes: You cannot run a Windows based container on a Docker that is…