일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- nginx-media-server
- 행정구역분류
- Android
- docker
- service
- aws
- kubectl
- Windows10
- dart
- android studio
- ffmpeg
- wireshark
- RTMP
- deployment
- configmap
- VSCode
- macos
- Java
- aws cli
- spring cloud config
- Kubernetes
- Python
- Shell script
- HLS
- Sysinternals
- Pod
- Flutter
- namespace
- golang
- ebpf
Archives
- Today
- Total
woonizzooni
docker image 로그 확인 / docker build 과정 확인 / 도커 이미지 빌드 과정 로그 확인 본문
docker build 옵션 중 --progress 사용 (plain을 사용하자)
foo@bar:~/$ docker build --help
Usage: docker build [OPTIONS] PATH | URL | -
Build an image from a Dockerfile
Options:
...
--progress string Set type of progress output (auto, plain, tty). Use plain to show container output (default "auto")
...
example) docker build -f Dockerfile --progress=plain -t ...
foo@bar:~/$ docker build -f Dockerfile --progress=tty -t repo:tag .
[+] Building 4.5s (5/14)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:16-alpine 0.0s
=> CANCELED [internal] load build context 4.4s
=> => transferring context: 109.16MB 4.4s
=> [builder 1/8] FROM docker.io/library/node:16-alpine 0.0s
context canceled
foo@bar:~/$ docker build -f Dockerfile --progress=plain -t repo:tag .
#1 [internal] load build definition from Dockerfile
#1 sha256:daa760dcafd678e56ad9eb3ca29d4472197843fe15182f8e566a70cfda77f11d
#1 transferring dockerfile: 37B done
#1 DONE 0.0s
....
(내용 확인)
'Docker' 카테고리의 다른 글
Docker - NGINX MEDIA SERVER 만들기 (0) | 2020.11.08 |
---|---|
Docker 주요 명령어 (0) | 2019.06.30 |
Docker Container IP 확인, 네트워크 정보 조회 (2) | 2019.06.20 |
Docker PostgreSQL, pgAdmin4, SonarQube설치 및 연동 (0) | 2019.06.19 |
Docker Toolbox 설치, 메모리 확장, 디스크 확장, timezone변경 (2) | 2019.06.18 |
Comments