Docker Tutorials

Install Docker on Ubuntu 16.04

Learn How to Install Docker on Ubuntu 16.04 with apt-get install command and run docker containers on Ubuntu 16.04.

Search Docker Images with docker search Command

To run docker containers we need images, To find images we can use the docker search command. In this docker tutorial we are going to learn how to search docker images using the docker search command.

What is Docker Hub? The official Docker Registry

One important part of the Docker is the Docker Hub. In this tutorial we will see how to use the docker hub to find images for your containers.

Docker hub is the Official Docker Image Registry that contains all the images that are created and distributed by the worldwide Docker development community.

Install Docker on CentOS 7 and Run Containers

In this tutorial we are going to learn how to Install Docker on CentOS 7. We will also create our first Docker container on CentOS 7.

We will install the docker engine available from the CentOS Base repository.

List Docker Containers with docker ps command

In this docker tutorial we are going to learn How to list docker containers with docker ps Command. With ps command only running containers are shown by default.

Run Hello World Container on Docker Engine

Let’s run a hello world container on our Docker Engine. The Hello world container will confirm that our docker engine is up and running correctly on our computer.

Install Docker on Windows 10 / Windows 7 / Server 2016

Docker on Windows is a little bit different than on Linux. Because Docker runs using features of the Linux operating system which not supported by Microsoft Windows. To run Docker on windows 10, Docker Toolbox will create a Linux virtual machine in VirtualBox and all containers will be created inside the virtual machine.

In this tutorial we will learn How to Install Docker on Windows 10 using the Docker Toolbox. You can also use following guide to install docker for Windows 7 and Windows Server 2016.

Solution to cannot connect to the docker daemon Error

There are two reasons you get the “cannot connect to the docker daemon” error message when try to run docker command.

One reason is docker service is not running. Another reason could be you are trying to run the docker command as non root user.

Run Docker as non root user without sudo command

By default docker command need root permission because The docker daemon runs as the root user. So by default, either you need to be the root user or you have to run docker with the sudo command.

But, How do we run docker as non root without sudo command?

Docker MySQL Containers: Learn How to Run MySQL on Docker

MySQL is the most commonly used open source relational database management system. In this tutorial we will learn how to run MySQL Containers on Docker Engine.

Docker MySQL Containers are very straight forward. Starting a new server instance is very simple.

Docker WordPress: How to Install WordPress on Docker Containers

In this docker tutorial we are going to learn how to install WordPress on Docker.

To run wordpress we need two docker containers. One for the MySQL Server instance and other one is for the wordpress instance with a link to the mysql container.

How to Install a Text editor on Docker Container

Almost all docker containers do not have a text editor by default. But most of the time you will need a command line text editor for edit files inside a docker container.

Start Docker Containers with docker run Command

Once you have the Docker service installed and running on your Linux system, Next step is to start running docker containers. In the following tutorial we are going to learn how to create new containers on docker engine with docker run command.