oci-registry
No description available.
파일 탐색기
최종 버전 다운로드 (.zip)- main.rs
- _helpers.tpl
- deployment.yaml
- ingress.yaml
- secret-s3.yaml
- secret-upstream.yaml
- service.yaml
- Chart.yaml
- README.md
- values.yaml
- error.rs
- stream.rs
- error.rs
- error.rs
- filesystem.rs
- s3.rs
- api.rs
- image.rs
- lib.rs
- main.rs
- storage.rs
- upstream.rs
- util.rs
- images.txt
- s3cfg
- upstream.yaml
- generate-filesystem-profile
- generate-profiles
- generate-s3-profile
- make-test-requests
- .dockerignore
- .gitignore
- .gitlab-ci.yml
- .rustfmt.toml
- Cargo.lock
- Cargo.toml
- Dockerfile
- Dockerfile.aarch64
- Dockerfile.x86-64
- example.yaml
- LICENSE
- README.md
- test.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/mcronce/oci-registry
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd oci-registry
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
UPSTREAM_CREDENTIALS='{"example.com": {"username": "example", "password": "hunter2"}, "docker.io": {"username": "aaa", "password": "bbb"}}'
이 명령어를 터미널에 그대로 입력해 실행하세요.
mkdir /etc/containerd/certs.d/docker.io
이 명령어를 터미널에 그대로 입력해 실행하세요.
cat > /etc/containerd/certs.d/docker.io/hosts.toml <<EOF
이 명령어를 터미널에 그대로 입력해 실행하세요.
server = "https://registry-1.docker.io"
이 명령어를 터미널에 그대로 입력해 실행하세요.
location = "docker.io"
이 명령어를 터미널에 그대로 입력해 실행하세요.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
// repository documentation
Was this content helpful?
(0 ratings)
