getting-started
Getting started with Docker
파일 탐색기
최종 버전 다운로드 (.zip)- build.yml
- sqlite.spec.js
- addItem.spec.js
- deleteItem.spec.js
- getItems.spec.js
- updateItem.spec.js
- index.js
- mysql.js
- sqlite.js
- addItem.js
- deleteItem.js
- getItems.js
- updateItem.js
- all.min.css
- fa-brands-400.eot
- fa-brands-400.svg#fontawesome
- fa-brands-400.ttf
- fa-brands-400.woff
- fa-brands-400.woff2
- fa-regular-400.eot
- fa-regular-400.svg#fontawesome
- fa-regular-400.ttf
- fa-regular-400.woff
- fa-regular-400.woff2
- fa-solid-900.eot
- fa-solid-900.svg#fontawesome
- fa-solid-900.ttf
- fa-solid-900.woff
- fa-solid-900.woff2
- bootstrap.min.css
- styles.css
- app.js
- babel.min.js
- react-bootstrap.js
- react-dom.production.min.js
- react.production.min.js
- index.html
- index.js
- package.json
- yarn.lock
- dark-mode.css
- styles.css
- hinted-Geomanist-Book.ttf
- docker-labs-logo.svg
- pwd-badge.png
- hvs.png
- index.md
- dashboard-multi-container-app.png
- index.md
- multi-app-architecture.png
- dashboard-two-containers.png
- ide-screenshot.png
- index.md
- todo-list-empty.png
- todo-list-sample.png
- dashboard-open-cli-ubuntu.png
- index.md
- items-added.png
- index.md
- push-command.png
- pwd-add-new-instance.png
- dashboard-removing-container.png
- index.md
- todo-list-updated-empty-text.png
- index.md
- updated-add-button.png
- dashboard-app-project-collapsed.png
- dashboard-app-project-expanded.png
- index.md
- index.md
- index.md
- tutorial-in-dashboard.png
- index.md
- .dockerignore
- .gitignore
- .yarnrc.yml
- build.sh
- docker-compose.yml
- Dockerfile
- LICENSE
- mkdocs.yml
- README.md
- requirements.txt
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/docker/getting-started
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd getting-started
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker run -d -p 80:80 docker/getting-started
빌드된 이미지를 실제 컨테이너로 실행합니다.
docker compose up
정의된 모든 컨테이너(서버, DB 등)를 한 번에 빌드하고 백그라운드에서 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
cd app
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
// repository documentation
Was this content helpful?
(0 ratings)
