You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 도커 설치
sudo yum install docker -y
// 도커 실행
sudo service docker start
// 도커 상태 확인
systemctl status docker.service
// Docker 관련 권한 추가
sudo chmod 666 /var/run/docker.sock
docker ps
// 도커 컴포즈 설치
sudo curl \
-L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" \
-o /usr/local/bin/docker-compose
// 권한 추가
sudo chmod +x /usr/local/bin/docker-compose
// 버전 확인
docker-compose --version
AWS SSH public, private key
EC2 인스턴스를 생성하면 기본적으로 ~/.ssh 경로에 authorized_keys 라는 public key가 저장되어 있음
Docker, Docker-Compose 설치 명령어
// 도커 설치 sudo yum install docker -y // 도커 실행 sudo service docker start // 도커 상태 확인 systemctl status docker.service // Docker 관련 권한 추가 sudo chmod 666 /var/run/docker.sock docker ps // 도커 컴포즈 설치 sudo curl \ -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose // 권한 추가 sudo chmod +x /usr/local/bin/docker-compose // 버전 확인 docker-compose --version
AWS SSH public, private key
The text was updated successfully, but these errors were encountered: