| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
- 로스트아크 API
- XMLHttpRequest 예제
- docker compose setting
- Raspberry Pi docker install
- cloudflare certbot
- docker
- JavaScript
- 코어자바스크립트 정리
- nodejs mariaDB
- docker compose
- cloudflare Origin Server CA
- dockerignore example
- docker image 배포
- docker image deploy
- nodejs myslq2
- cloudflare Origin Server
- XMLHttpRequest example
- XMLHttpRequest with promise
- cloudflare
- cloudflare ssl
- Raspberry Pi docker-compose install
- 로스트아크 open API
- dockerignore setting
- 코어자바스크립트
- 코어 자바스크립트
- nodejs DB
- Dockerfile example
- cloudflare DNS
- docker compose example
- Dockerfile setting
- Today
- Total
목록docker (4)
오늘
compose.yaml docker compose 컴포넌트를 통해 여러개의 도커 컨테이너(이미지)를 한번에 관리할 수 있다. 설정 파일명은 여러가지를 인식 하기는 하지만 공식문서에 가장 앞에 있는 "compose.yaml" 로 작성하는것이 좋을 듯 하다. [ compose.yaml compose.yml docker-compose.yaml docker-compose.yml compose.yaml ] 설정값이 너무 많아서 다 확인하지 못하고, 필요한 것만 검색해서 사용하였다. # services : 서비스 정의 # container_name : 사용할 컨테이너 명 # image : 사용할 이미지 # ports : 포트매핑 : # networks: 사용할 네트워크 # volumes : 마운트 정의 : # en..
.dockerignore Dockerfile 에 있는 Copy 나 Add 명령으로 이미지에 추가하지 않을 파일을 명시한다. 실제 파일명을 ".dockerignore"로 작성해야 한다. 공식 문서 : https://docs.docker.com/engine/reference/builder/#dockerignore-file Dockerfile reference docs.docker.com ++++ .dockerignore example node_modules npm-debug.log .idea .git .gitignore .dockerignore Dockerfile *.md *.sh *.yml
Dockerfile 도커 이미지를 구성하는데 필요한 정보들을 가지고 있으며, Dockerfile을 통해 도커 이미지를 생성할 수 있다. 실제 파일명을 "Dockerfile"로 작성해야 한다. # FROM : 베이스가 될 도커 이미지 선택 # WORKDIR : 설정 이후 사용될 명령어에 대한 작업 디렉토리를 설정 # [ RUN, CMD, ENTRYPOINT, COPY, ADD, Dockerfile, WORKDIR, Dockerfile ] # COPY : 파일 복사 COPY ... # RUN : 도커 이미지 실행시 수행할 command # VOLUME : 마운트 지점 생성 # EXPOSE : 도커 이미지에서 오픈할 포트 # CMD : 컨테이너를 생성할때 실행되는 명령어, 여러번 작성해도 마지막으로 선언한 부..
Docker 이미지 배포 과정 1. docker image build docker build 공식문서 : https://docs.docker.com/engine/reference/commandline/build/ docker build [OPTIONS] PATH | URL | - // ex docker build --tag myloa:1.0 2. docker image to file 아래 명령어를 통해 docker image -> tar file 변환 이제 해당 tar file 을 원하는 서버로 전송 docker save -o .tar 3. docker container start 아래 명령어를 사용하여 tar file을 docker image로 변환 docker load -i .tar 4. docker..