Introduction

introduction of docker

Basic Concept

  • Docker provides isolated environment depending on each application.
    • Minimization of affects among applications.
    • Composition of guest OS on Host machine.
  • Each container utilizes Host’s hardware resources such like CPU, RAM and so on.

Docker installation

In order to install Docker, refer to https://docs.docker.com/get-docker/.

  • Mac OS
  • Windows
  • Linux

Installing Docker on Arch Linux

  • You can use yay, pacman to install it.
pacman -S docker

Running Docker

Running Docker daemon

  • systemctl makes Docker daemon run at startup.
systemctl start docker

Checking Docker status

  • You can check the status by systemctl.
    • If systemctl shows active status, that means it successfully runs.
systemctl status docker
...
Active: active (running) ...
...

도커 명령어

  • docker shows all commands of docker CLI.
    • Docker daemon must be active in advance.