container-diff
container-diff: Diff your Docker containers
파일 탐색기
최종 버전 다운로드 (.zip)- build.yaml
- test-action.yaml
- CODEOWNERS
- ISSUE_TEMPLATE.md
- action.yaml
- Dockerfile
- entrypoint.sh
- README.md
- output.go
- analyze.go
- analyze_test.go
- diff.go
- diff_test.go
- root.go
- root_test.go
- version.go
- file
- file
- SIZE
- SIZE
- SIZE
- package.json
- package.json
- package.json
- status
- package.json
- package.json
- package.json
- status
- file
- file
- file
- file
- file
- script3.py
- file
- file
- file
- file
- file
- file
- script1.py
- script2.py
- file
- file
- file
- file
- file
- file
- script1.py
- script2.py
- file
- file
- file
- file
- script1.py
- script2.py
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- file
- script3.py
- file
- file
- file
- file
- file
- file
- script1.py
- script2.py
- file
- file
- file
- file
- file
- file
- script1.py
- script2.py
- file
- file
- file
- file
- file
- file
- exact.json
- extra.json
- apt_diff.go
- apt_diff_test.go
- differs.go
- differs_test.go
- emerge_diff.go
- emerge_diff_test.go
- file_diff.go
- history_diff.go
- metadata_diff.go
- node_diff.go
- node_diff_test.go
- package_differs.go
- pip_diff.go
- pip_diff_test.go
- rpm_diff.go
- rpm_diff_test.go
- size_diff.go
- pre-commit
- listpullreqs.go
- release.sh
- fs_utils.go
- image_utils.go
- tar_utils.go
- test_utils.go
- transport_builder.go
- Dockerfile.diffBase
- Dockerfile.diffLayerBase
- Dockerfile.diffLayerModified
- Dockerfile.diffModified
- init-tests.sh
- README.md
- apt_analysis_expected.json
- apt_diff_expected.json
- apt_sorted_diff_expected.json
- file_diff_expected.json
- file_layer_analysis_expected.json
- file_layer_diff_expected.json
- file_sorted_analysis_expected.json
- hist_diff_expected.json
- integration_test.go
- metadata_diff_expected.json
- multi_diff_expected.json
- node_analysis_expected.json
- node_diff_order_expected.json
- pip_analysis_expected.json
- rpm_analysis_expected.json
- rpm_diff_expected.json
- size_analysis_expected.json
- size_diff_expected.json
- size_layer_analysis_expected.json
- size_layer_diff_expected.json
- file1
- file2
- file3
- file1
- file2
- file3
- file1
- file2
- file4
- file1
- file2
- file4
- file1
- file1_copy
- file2
- f1.txt
- f2.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- f1.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- f1.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- hello
- passionfruit.txt
- peach-pear.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- f1.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- f1.txt
- lime.txt
- nested-dir.tar
- passionfruit.txt
- peach-pear.txt
- f1.txt
- f2.txt
- lime.txt
- passionfruit.txt
- peach-pear.txt
- la-croix-dir-update.tar
- la-croix-update.tar
- la-croix-wh.tar
- la-croix1.tar
- la-croix2.tar
- la-croix3.tar
- analyze_output_utils.go
- diff_output_utils.go
- diff_utils.go
- format_utils.go
- fs_utils_test.go
- image_utils_test.go
- output_sort_utils.go
- output_sort_utils_test.go
- output_text_utils.go
- package_diff_utils.go
- package_diff_utils_test.go
- size_utils.go
- tar_utils_test.go
- template_utils.go
- version.go
- .gitignore
- .travis.yml
- CHANGELOG.md
- cloudbuild-release.yaml
- cloudbuild.yaml
- code-of-conduct.md
- CONTRIBUTING.md
- Dockerfile.build
- go.mod
- go.sum
- LICENSE
- main.go
- Makefile
- README.md
- RELEASING.md
- SECURITY.md
- test.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/GoogleContainerTools/container-diff
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd container-diff
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f Dockerfile.build -t container-diff .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 container-diff
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Go
보통go build ./...
Go 프로그램을 컴파일해 실행 파일을 만듭니다.
go run .
따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.
빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
