Docker 설치
2023. 7. 11. 18:29ㆍ개발일지
Docker 설치방법
1. 우분투 시스템 패키지 업데이트
sudo apt-get update
2. 필요한 패키지 설치
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
3. Docker의 공식 GPG키를 추가
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4. Docker의 공식 apt 저장소를 추가
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
5. 시스템 패키지 업데이트
sudo apt-get update
6. Docker 설치
sudo apt-get install docker-ce docker-ce-cli containerd.io
7. Docker가 설치 확인
7-1 도커 실행상태 확인
sudo systemctl status docker
7-2 도커 실행
sudo docker run hello-world
'개발일지' 카테고리의 다른 글
RDS Connection timed out 이슈 정리 (0) | 2024.10.26 |
---|---|
Docker 설정 (0) | 2023.07.11 |
Nginx를 통한 Https설정 (SSL 인증서) (0) | 2023.07.03 |
05.16 TIL (Stack과 Queue 그리고 Array와 Linked List 자료구조와 차이점) (0) | 2023.05.16 |
05.16 TIL (웹 서버와 WAS의 차이) (0) | 2023.05.16 |