containerd-wasm-shims
containerd shims for running WebAssembly workloads in Kubernetes
파일 탐색기
최종 버전 다운로드 (.zip)- config.toml
- bootstrap.sh
- devcontainer.json
- build.yaml
- ci.yaml
- docker-build-push.yaml
- release.yaml
- common.rs
- engine.rs
- main.rs
- Cargo.lock
- Cargo.toml
- Cross.toml
- engine.rs
- main.rs
- Cargo.lock
- Cargo.toml
- Cross.toml
- quickstart.md
- readme.md
- engine.rs
- main.rs
- Cargo.lock
- Cargo.toml
- Cross.toml
- quickstart.md
- Dockerfile
- pv.group.yaml
- pvc.group.yaml
- redis-conf.yaml
- redis-pod.yaml
- runtime.yaml
- workload.yaml
- runtime.yaml
- workload.yaml
- config.toml.tmpl
- Dockerfile
- DockerSetup.md
- Makefile
- README.md
- all-in-one-demo.yaml
- runtime.yaml
- workload.yaml
- README.md
- config.toml
- main.rs
- wasi-hello-world.wasm
- Cargo.toml
- Dockerfile
- config.toml
- main.rs
- Cargo.toml
- Dockerfile
- config.toml
- main.rs
- Cargo.toml
- Dockerfile
- lib.rs
- Cargo.lock
- Cargo.toml
- Dockerfile
- http-handler.wit
- http-server-export.wit
- http-server.wit
- http-types.wit
- keyvalue.wit
- slightfile.toml
- Dockerfile
- hello.js
- Dockerfile
- hello.py
- slight-kitchensink
- 2022-09-14-kubernetes-versioning.md
- check-bins.sh
- down.sh
- move-bins.sh
- pod-status-check.sh
- up.sh
- workloads.sh
- integration_test.rs
- lib.rs
- redis-conf.yaml
- redis-pod.yaml
- runtime.yaml
- workload.yaml
- Cargo.toml
- README.md
- .dockerignore
- .gitignore
- Cargo.lock
- Cargo.toml
- LICENSE
- Makefile
- README.md
- rust-toolchain.toml
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/deislabs/containerd-wasm-shims
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd containerd-wasm-shims
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f cross/Dockerfile -t containerd-wasm-shims .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 containerd-wasm-shims
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
