본문 바로가기

IT 기본

wsl docker에서 Sql server 설치

 

https://rangsub.tistory.com/112?category=981341 

 

<docker run시에 에러 발생하면 아래 명령어로 상세 메세지 확인>

docker logs containerID

 

<Sql Server 설치 후 컨테이너 외부인 로컬에서 SSMS 접속시>

  • 명령어 wsl로 wsl 실행
  • 명령어 ifconfig 실행 (없다면 apt install net-tools 로 설치)
  • IP확인
  • SSMS에서 해당 IP로 입력
    • 참고로 1433인 경우 해당 IP만 입력. 1433이 아니면 IP,1433로 표기

 

'IT 기본' 카테고리의 다른 글

wsl에서 docker 에러 "cgroups: cannot find cgroup mount destination"  (0) 2022.12.05
Docker에 td-agent(fluentd) 설치  (0) 2022.11.29
도커 정리  (0) 2022.09.08
파이참의 Git 참고사항  (0) 2022.07.18
WSL2설치와 docker 설치  (0) 2021.09.15