Update wsl-docker/README.md
This commit is contained in:
@@ -10,6 +10,7 @@ Ref: https://learn.microsoft.com/ko-kr/windows/wsl/install
|
||||
```Powershell
|
||||
wsl --install
|
||||
```
|
||||
- 설치를 마친 후 Windows 재부팅을 해야 다음 단계로 넘어갈 수 있다.
|
||||
|
||||
## 2. WSL 리눅스 배포판 설치
|
||||
|
||||
@@ -31,7 +32,10 @@ https://apps.microsoft.com/detail/9n0dx20hk701?hl=en-US&gl=US
|
||||
- 정상적인 linux는 이미 systemd가 실행되어 있지만 wsl에서는 기본적으로 꺼져있다.
|
||||
- Debian Bash
|
||||
```sh
|
||||
echo -e "\n[boot]\nsystemd=true\n" | sudo tee -a /etc/wsl.conf
|
||||
sudo tee -a /etc/wsl.conf <<'EOF'
|
||||
[boot]
|
||||
systemd=true
|
||||
EOF
|
||||
```
|
||||
|
||||
- Powershell (관리자로 실행):
|
||||
@@ -42,6 +46,7 @@ https://apps.microsoft.com/detail/9n0dx20hk701?hl=en-US&gl=US
|
||||
|
||||
- Debian Bash:
|
||||
```sh
|
||||
sudo apt-get update && sudo apt-get install -y curl
|
||||
curl -fsSL https://get.docker.com | sudo sh
|
||||
sudo adduser $USER docker # sudo 없이 docker 실행
|
||||
su $USER # group 변경은 로그인해야 적용되므로 자신에게 다시 로그인
|
||||
|
||||
Reference in New Issue
Block a user