02-Docker | Docker Basic

Installation, Docker Image, Container

Docker

2.1 Docker installation

# Check docker
docker version
sudo docker run hello-world
  • On Linux
    • Docker client, Docker daemon and Container runs on the same Host
  • On Window or MacOSX
    • Docker daemon cannot be run directly on Non-Linux platform natively because it user Linux specific Kernel feature
    • Need to run inside Docker-Machine
      • Install Docker Desktop
[Read More]

04-Docker | Docker-Compose

Manage multiple docker container

Docker-Compose

  • DC makes it easier to configure and run applications made up of multiple containers
  • DC is a very handy tool to quickly get docker environment up and running.
  • It uses yaml files to store the configuration of all the containers
  • We can create some containers like: web app, postgres and redis
    • and can establish an internal connection
[Read More]