Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 구글 OTP 인증
- php 이미지 url 검증 함수
- bootstrap
- 비밀번호검증정규식
- PHP 정규식 예제
- 아파치 웹 서버의 정보 숨기기
- 우분투 mysql 비밀번호 없이 로그인 될때
- modsecurity 설치
- apple push notification service (apns) is changing
- php 배열제거
- 윈도우 mod_security2
- 윈도우 환경 아파치 mod_security2 설치
- javascript
- httpd.conf 보안 설정
- PHP 구글 OTP 연동
- bootstrap modal
- mod_security2 설치
- (using password: YES)" when trying to connect
- 비밀번호정규식
- group_concat 구분자
- 파라미터 & 오류
- sha-2 root
- html pdf 변환
- mysqldump: Got error: 1045
- 자바스크립트비밀번호검증
- mariadb upgrade
- wsl2 우분투에 docker 설치
- usb efi 시스템 파티션 삭제
- PHP 구글 OTP 인증
- 숫자 3자리(천단위) 마다 콤마 찍기
Archives
- Today
- Total
투덜이 개발자
WSL2 우분투에 Docker 설치 (Docker Desktop 없이) 본문
반응형
🐳 WSL2 우분투에 Docker 설치 (Docker Desktop 없이)
1️⃣ 기존 설치 흔적 제거 (선택)
sudo apt remove docker docker-engine docker.io containerd runc
2️⃣ 필수 패키지 설치
sudo apt update
sudo apt install -y ca-certificates curl gnupg lsb-release
3️⃣ Docker 공식 GPG 키 등록
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
4️⃣ Docker 저장소 추가
echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \ https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
5️⃣ Docker 설치
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
6️⃣ Docker 데몬 실행
WSL에서는 systemd가 기본 비활성이라, 수동으로 데몬을 실행해야 해요.
sudo dockerd
이 상태에서 새 터미널을 열고, 테스트해볼 수 있어요:
docker run hello-world
반응형
'OS > Windows' 카테고리의 다른 글
Windows에서 Linux/Unix와 같이 tail 명령어 사용하기 (0) | 2023.11.02 |
---|---|
윈도우 11 마우스 우클릭 더많은 옵션 표시 제거 변경 (0) | 2023.03.05 |
윈도우 11 및 윈도우10 크랙없이 정품인증 (0) | 2023.01.02 |
윈도우7에서 윈도우10으로 업그레이드 (0) | 2022.02.02 |
윈도우에서 wget 사용하기 (0) | 2022.01.21 |