platanus-kr/stack-comments

https://platanus.me/post/997

Opened this issue · 1 comments

Docker 시작하기 (Windows/macOS)

2021-03-11 — Windows 10과 맥에서 docker를 설치하고 WSL과 통합하여 기본적인 컨테이너를 올려보는 기회. Windows10 + WSL2 + Ubuntu 현 시점에서 WSL2+Ubuntu는 기본 사양이므로 넘어가도록 하겠다. 필요하면 이 링크 참고. 바쁜 사람들을 위한 짧은 코드 (powershell에서 실행해야된다) dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enab

https://platanus.me/post/997

docker run -d -p 3306:3306 -e MARIADB_DATABASE=dev -e MARIADB_USER=dev -e MARIADB_PASSWORD=devdb -e MARIADB_ROOT_PASSWORD=rootdb mariadb