Category Archives: Cloud Computing

Docker to AWS, A journey

I am following this lecture to build from here:

Docker Image:

Image is a template for creating an environment of your choice, snapshot, has everything to run your apps, OS, software, app code.

Below code we are pulling Apache httpd in docker desktop:

Check the images:

Run container from this image:

It will hang up so we write ctrl+c to delete it

we check with this code:

docker run

we check:


Docker port exposing: before that we are stopping the running container

docker stop objective_roentgen
docker stop intelligent_wiles

Now writing command for exposing the port and running the container:

d for dettach and p for port exposing t

Now the container is running perfectly and exposing the port which we can visit and check with command:


Now going to

will work perfectly.

It means the container port 80 is exposing to user by port 8080

Now I stopped the container:

So cannot reach to localhost:8080
Now we want to run in different port we can also follow the step:

Now we can also run multiple containers from a single command:

We stop and start again the docker container:


now docker help finding:

it will show like this:

removing a container from here:

we can show id  by

it will show like this:

when we need to remove running container forcefully

-f for force

Custom name for docker container:

Now stopping docker container named website

Now running again the docker container:

we check containers with command

Docker ps formatting:


Docker volumes: between host and controllers

pwd=present working directory

Command for without dockerfile inside:


Command for with dockerfile inside:

Kubernetes Diary

Tried this code from github issue and solved:

minikube start –no-vtx-check

Test :

kubectl get nodes



Deep Dive Into Cloud Computing: Docker and Kubernetes and Basics

What is docker ?
Instance of redis in my computer

Why we use docker ?
Docker makes it really easy to install and run software without worrying about setup and depenedenies

Docker ecosystem-> Docker client Docker server Docker machine Docker images Docker hub Docker compose

Used docker command:



we are using node.js server
Docker on AWS:

npm run start = starts up a development server. For development use only
npm run test= run tests associated with the project
npm run build = build a production version of the application

We need Travis CI
AWS hosting

One question to professor:
For lab report:
Explain what is the output, what is the process and some codes. Some screenshots.
What does documentation contains is it lab report A4 page ?

Redis is a in memory data store.
Multiple container can be multinode

Best Tutorial For Learning Docker For Windows in Short :

Protected: Cloud Computing Lectures and Notes Winter 2020/21

This content is password protected. To view it please enter your password below: