Docker Installation on Ubuntu 18.04 :: 2021/04/19 22:11

우분투 18.04 버전 서버에 Docker를 설치하는 방법


<Setup the Repository>
1. apt package index update and install packages.

sudo apt-get update
sudo apt-get install apt-transport-https apt-certificates curl gnupg lsb-release

2. add Docker's offcial GPG key

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

3. Stable Repository Setup

echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

<Install Docker Engine>
1. Update the apt package index, and install the latest version of Docker Engine and containerd.

sudo apt-get install docker-ce docker-ce-cli containerd.io


2. To install a specific version of Docker Engine, list the available versions in the repo.

apt-cache madison docker-ce
sudo apt-get install docker-ce={docker-ce-version} docker-ce-cli={docker-ce-cli-version} containerd.io


3. check docker version

docker -v


Trackback Address :: http://www.yongbi.net/trackback/882
  • Travel

    Tracked from Travel | 2023/03/17 20:18 | DEL

    Great Architect &amp; Artist -

  • mobile

    Tracked from mobile | 2023/04/04 21:20 | DEL

    Great Architect &amp; Artist - Docker Installation on Ubuntu 18.04

  • medium

    Tracked from medium | 2023/04/08 03:52 | DEL

    Great Architect &amp; Artist -

  • behance

    Tracked from behance | 2023/04/11 21:50 | DEL

    Great Architect &amp; Artist - Docker Installation on Ubuntu 18.04

[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
Name
Password
Homepage

Secret
< PREV |  1  |  ...  8  |  9  |  10  |  11  |  12  |  13  |  14  |  15  |  16  |  ...  648  |  NEXT >