본문 바로가기

728x90

docker_install

[aws] Amazon Linux 2 인스턴스에 도커(Docker)를 설치하는 방법(docker install) Amazon Linux 2 인스턴스에 도커(Docker)를 설치하는 방법(docker install) 테스트 환경 $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" Docker 설치 Docker 패키지 설치 sudo amazon-linux-extras install -y docker Docker 서비스 시작 sudo systemctl --no.. 더보기
우분투에서 최신 버전의 Docker를 설치하는 방법 우분투에서 최신 버전의 Docker를 설치하는 방법(install docker on ubuntu)테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.1 LTS이전 버전의 Docker 제거이미 이전 버전의 Docker가 설치되어 있다면 제거하는 것이 좋습니다.sudo apt-get remove docker docker-engine docker.io containerd runc패키지 목록 업데이트sudo apt-get update필수 패키지 설치sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common도커 리포지토리 GPG key 추가sudo mkdir -m 075.. 더보기
CentOS 7에 Docker를 설치하는 방법 CentOS 7에 Docker를 설치하는 방법(install docker on linux)- https://docker.com테스트 환경$ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core)install docker스크립트 다운로드curl -fsSL https://get.docker.com -o get-docker.sh스크립트 실행 권한 부여chmod +x get-docker.sh스크립트 실행sh get-docker.sh---OUTPUT---================================================================================To run Docker as a non-privileged use.. 더보기

반응형