Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 33

Docker training

Part 1 – highlights from


https://training.docker.com/self-
paced-training
Namespaces: PID (Process Isolation), Net (managing network stack), IPC, MNT
(managing mount points), UTS

These namespaces give us the isolated workspace that we call a container.


Installing Docker.
I used the following command to download and install Docker. I did
it in a virtual environment where I am running Ubuntu 14.04 LTS.
There are however methods and installation packs to download
from Docker’s webpage.

*****:~$ wget -qO- https://get.docker.com | sh


[sudo] password for magnus:

If you want to let the user have docker access without being
sudo then trigger the following command. Change ‘magnus’ to
your user instead. You also need to log out and log in for
the change to take effect.

*****:~$ sudo usermod –aG docker magnus


Think of it as an app store for Docker.
These are the Docker orchestration tools.
The only requirement (for deployment) is that the host you deploy to has the docker
engine installed.
The tag here refers to the version.
Here: on the physical host it uses port 49153 which is mapped towards port 8080 in the
container.

You might also like