도커 이미지 nginx 다운로드 및 확인, 실행
docker container stop webserver
docker contianer ps -a
docker container rm webserver
docker image pull nginx
docker image ls (docker images)
docker container create -p 90:80 --name webserver nginx
docker container start webserver
docker container ps -a
docker container ps -a | grep webserver (리눅스)
docker container ps -a | findstr "webserver" (window)
curl http://localhost:90 (리눅스)
http://localhost (브라우저-window)
docker container stop webserver
docker container rm webserver
docker image rmi nginx
docker container run --name webserver -d -p 9900:80 -v c:\docker:/usr/share/nginx/html ^
More? nginx
windows 줄바꿈 → ^
linux 줄바꿈 → \
https://github.com/docker-library/mysql/blob/master/8.0/Dockerfile.oracle