# 디렉토리 생성
mkdir -p /docker/portainer
# 리눅스의 /docker/portainer 디렉토리를 docker의 portainer이미지 디렉토리로 설정
docker run --name portainer -p 9000:9000 -d --restart always -v /docker/portainer:/data -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
docker exec -i -t <컨테이너 이름> bash
docker update --restart=always <컨테이너 이름>
PS C:\Users\guswn> wsl --list --verbose
NAME STATE VERSION
* Ubuntu-20.04 Running 2
docker-desktop Running 2
docker-desktop-data Running 2
PS C:\Users\guswn> wsl --unregister docker-desktop
등록 취소 중...
wsl -l -v
명령어 입력wsl --unregister docker-desktop
으로 docker-desktop unregisteringhttps://medium.com/geekculture/run-docker-in-windows-10-11-wsl-without-docker-desktop-a2a7eb90556d