11.Nas_1


Debian 10에서 Docker를 설치하고 사용하는 방법 설치작업.....실패




컨텐츠 정보


본문


Debian 10에서 Docker를 설치하고 사용하는 방법


https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10


참조하여 설치 작업

apt update

apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"

apt update

apt-cache policy docker-ce

apt install docker-ce

---

Debian_10]root~[10:20]] apt-cache policy docker-ce docker-ce: Installed: (none) Candidate: (none) Version table: Debian_10]root~[10:20]] apt install docker-ce Reading package lists... Done Building dependency tree Reading state information... Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: docker-ce-cli:amd64 E: Package 'docker-ce' has no installation candidate --------------

apt install candidate

apt install docker-ce

..... termux에 debian10 조건에서 상기 명령으로 실패


============

Install Docker and Docker Compose on Debian 10 Buster

https://computingforgeeks.com/install-docker-and-docker-compose-on-debian-10-buster/

apt update

apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

add-apt-repository \

   "deb [arch=amd64] https://download.docker.com/linux/debian \

   $(lsb_release -cs) \

   stable"

--

nano /etc/apt/sources.list

deb [arch=amd64] https://download.docker.com/linux/debian buster stable

마지막에 추가 합니다

====

Debian_10]root~[10:38]] apt -y install docker-ce docker-ce-cli containerd.io

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package docker-ce is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

  docker-ce-cli:amd64


E: Package 'docker-ce' has no installation candidate

E: Unable to locate package docker-ce-cli

E: Unable to locate package containerd.io

E: Couldn't find any package by glob 'containerd.io'

E: Couldn't find any package by regex 'containerd.io'

Debian_10]root~[10:38]]

-----------
apt-get install -y candidate
================= 실패=======
Ubuntu 18.04 / CentOS 8 / Debian 10 / Fedora 30에 최신 Docker Compose 설치
---- CentOS / RHEL -----
$ sudo yum -y install curl

---- Debian / Ubuntu ----
$ sudo apt install -y curl

----- Fedora -----
$ sudo dnf -y install curl

--------
curl -s https://api.github.com/repos/docker/compose/releases/latest \
  | grep browser_download_url \
  | grep docker-compose-Linux-x86_64 \
  | cut -d '"' -f 4 \
  | wget -qi -

chmod +x docker-compose-Linux-x86_64
mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
ls -a
-rw-r--r--. 1 root  root        94 Nov 19 06:48 docker-compose-Linux-x86_64.sha256

chmod +x docker-compose-Linux-x86_64.sha256
mv docker-compose-Linux-x86_64.sha256 /usr/local/bin/docker-compose
chmod +x  /usr/local/bin/docker-compose

Debian_10]root~[10:55]] docker-compose version
/usr/local/bin/docker-compose: line 1: 2bdab0bbf42583b4b77ee015cf908933c78f0572a7cb949a7dd8e200e6250221: command not found


■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.


전체 1,766 / 1 페이지
게시물이 없습니다.(다음페이지로 이동 하세요)
전체 1,766 / 1 페이지



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-11-23 01:26:23

오늘의 홈 현황


  • 현재 접속자♨ 396 명
  • 오늘 가입자※ 0 명
  • 어제 가입자※ 3 명
  • 주간 가입자※ 9 명
  • 오늘 방문자 1,518 명
  • 어제 방문자 3,461 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,804,135 명
  • 전체 게시물※ 8,855 개
  • 전체 댓글수※ 25,231 개
  • 전체 회원수 11,325 명

QR코드


☞ QR코드 스캔은 kakao앱 자체 QR코드

알림 0








최신글↑