DevOps/Docker (4) 썸네일형 리스트형 Docker를 이용해 AWS EB에 Webapp 배포하기 Docker를 통해 webapp을 배포하는 방법을 알아보자 Static Sites 가장 먼저 정적 사이트를 실행시키는 방법을 알아볼 것이다. 도커 허브로부터 이미지를 꺼낸 다음 컨테이너를 실행시켜 웹 서버를 실행시키는 것이 얼마나 쉬운지 보자. 아래 링크의 레지스트리에서 static-site 이미지를 실행시켜 보자. https://hub.docker.com/r/prakhar1989/static-site/ Docker Hub hub.docker.com 먼저 도커 이미지를 다음 명령어를 통해 remote registry에서 가져온다. $ docker pull prakhar1989/static-site 다음으로 해당 이미지를 실행시킨다. --rm 옵션을 통해 종료 이후 해당 컨테이너를 삭제한다. $ docke.. MacOS Docker-Ubuntu VSCode https://code.visualstudio.com/docs/remote/containers-tutorial Get started with development Containers in Visual Studio Code Get started with development Containers in Visual Studio Code code.visualstudio.com https://code.visualstudio.com/docs/remote/containers Developing inside a Container using Visual Studio Code Remote Development Developing inside a Container using Visual Studio Code Remote D.. MacOS Docker Linux GUI https://stackoverflow.com/questions/40658095/how-to-open-ubuntu-gui-inside-a-docker-image How to open Ubuntu GUI inside a Docker image I have downloaded the Ubuntu image inside Docker on Windows. I can run Ubuntu by: docker run -it ubuntu I only see root, but I don't see the Ubuntu GUI. How do I install or configure the GUI for... stackoverflow.com https://hanseokhyeon.tistory.com/entry/Mac-Dock.. MacOS Docker Linux https://subicura.com/2017/01/19/docker-guide-for-beginners-2.html Mac에서 Docker 사용하기(Docker for Mac) 도커를 Mac에서 사용하려면 Docker for mac을 설치하면 된다. 프로그램이 마치 네이티브처럼 설치된 것 같지만, 도커는 리눅스 컨테이너이므로 실제로는 가상머신에 설치되어 있다. Docker는 가상머신이라는 느낌이 들지 않게 잘 만들어져 있다. 특히 포트 연결을 위해 도커 컨테이너의 특정 포트를 가상머신에 연결하고 다시 mac의 포트에 연결해야 하는데 이런 추가적인 부분을 도커는 아주 자연스럽게 처리한다. docker for mac은 xhyve라는 macOS에서 제공하는 가상환경을 이용한다. 설치확인하기 설치가 완료되었다.. 이전 1 다음