우분투 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


받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/882

트랙백 주소 :: http://www.yongbi.net/trackback/882

트랙백 RSS :: http://www.yongbi.net/rss/trackback/882

댓글을 달아 주세요

댓글 RSS 주소 : http://www.yongbi.net/rss/comment/882
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다