기본 콘텐츠로 건너뛰기

라벨이 docker인 게시물 표시

Ubuntu에 Docker 설치하기

Ubuntu에 Docker 설치하기 아래 문서를 참고하여 Ubuntu에 Docker Engine과 Docker Compose를 설치합니다. Install Docker Engine on Ubuntu Install Docker Compose 실습 환경 Windows 10 Oracle VM VirtualBox 6.1.6 가상 머신 생성 이름: ubuntu-docker 메모리 크기: 4 GB 저장소 크기: 40 GB ( 10 GB로 하면 금방 부족해짐) Ubuntu Desktop 20.04 LTS Docker Engine 설치 Install Docker Engine on Ubuntu 문서는 Docker 설치 방법으로 아래 세 가지를 제시하고 있습니다. Install using the repository Install from a package Install using the convenience script 여기서는 첫번째 방법으로 진행합니다. 저장소 설정 apt 가 HTTPS를 통하여 저장소를 사용할 수 있도록 패키지 추가 $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common Docker의 GPG 키 추가 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - stable 저장소 설정 $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" 위 명령 줄에서 $(lsb_...