Skip to content

This is the documentation of my lab results when learning about the docker compose

Notifications You must be signed in to change notification settings

sulaimantok/Docker_Dev

Repository files navigation

Docker_Dev

This is the documentation of my lab results when learning about the docker compose

Docker is one of the tools to use containers, what is containers ? containers is

a lightweight, stand-alone, executable package of a
piece of software that includes everything needed to
run it: code, runtime, system tools, system libraries,
settings.

Why using Docker ?

lightweight

  • Containers running on a single machine share that machine's operatng system kernel; they start instantly and use less compute and RAM.
  • Images are constructed from flesystem layers and share common fles. his minimizes disk usage and image downloads are much faster.

Standard

  • Containers are based on open standards and run on all major Linux distributons, Microsof Windows, and on any infrastructure including VMs, bare-metal and in the cloud.

Secure

  • Docker containers isolate applicatons from one another and from the underlying infrastructure. Docker provides the strongest default isolaton to limit app issues to a single container instead of the entre machine.

For comparison with Virtual machines as we have used, we can see the following picture : compare

for full documentation, access this

Let's Hand on

Requirements:

  • Virtual Machine with Linux Or Windows (sample using ubuntu 16.04)
  • Internet connection
  • Requires enthusiasm and patience

Installation

  1. Using Ubuntu
sudo apt -y install docker.io
sudo systemctl status docker
  1. Using CentOs
yum -y install docker
  1. Using Windows and Mac
  • Download File installer this
  1. Verify Docker install
docker --version
docker version
docker info

Simple Lab

  1. First Applicatons
docker run hello-world
#list images
docker image ls
#show list Container active or inactive
docker container ls -a
  1. Try another application
docker run docker/whalesay cowsay nameapp
#show image list
docker image ls

Other images, you can see on this

About

This is the documentation of my lab results when learning about the docker compose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published