[Docker] #1 Docker 설치 및 Swarm 환경 구축
·
🗂ㅤ작업 노트/Project
1. Docker 설치 작업 (모든 노드) # 기존 패키지 삭제 for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done # 저장소 추가 sudo apt-get update sudo apt-get install -y \ ca-certificates \ curl \ gnupg \ lsb-release ================== curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archiv..