Category Archives: Cloud

Latest tutorials and tips for Cloud computing and Cloud Infrastructure

List of Useful Docker Commands – Docker run

List of all docker containers which we created including stopped containers: docker ps –all   List all the containers which are running: docker ps   Create container (example: pull hello-world image from docker hub and create a new container from the image). It returns a container id. docker create hello-world   Docker run command,  which […]

How to copy a file into or from a running docker container

In this post, we show how to copy a file to a running docker container.  Also we show how to copy an existing file inside a running docker container to your local folder.   For copying a file inside a running docker container the command is:   docker cp yourfile container-id://path-inside-docker   For example to […]

How to make docker image and push to docker hub

In this tutorial we explain how to make a docker image and then push to docker hub so that others can pull the image and make docker containers based on the image.   For making a docker image we need to have a Dockerfile file. As an example, you have a simple nodejs application and […]

How to stop, kill or remove all containers

In this tutorial, we show how to stop all container. Also, we show how to remove or kill all docker containers.   Please note that sometimes docker containers has executed and exited and are not in the running mode, on the other hand, it is possible we have a docker container which is running and […]

How to stop, start, run, remove docker containers

In this tutorial, we show how to stop, start or run a docker container. Also we show how to remove an existing container. We also talk about what is the difference between docker run and docker start.   If you don’t know what is docker container, we recommend you have a look at the essential […]

What is docker engine, docker image and docker container and how they connected

This tutorial shows how to start working with the docker commands and teaches the docker basics. Docker engine is a software which needs to be installed in your computer so that you are able to work with docker images and containers.   As an example, you can install Docker Desktop for Mac from Docker Hub […]

Installing docker on ubuntu

This tutorial shows how to install docker on ubuntu. Most of the applications and software packages now are available as docker images and it is essential to know how to install docker to be able to get those images and build and run docker containers based on the images.   Also in this tutorial, we […]