Toshiki Teramura

Results 98 issues of Toshiki Teramura

- Reference: https://github.com/containerd/stargz-snapshotter/blob/main/docs/estargz.md - Blog (EN) - https://medium.com/nttlabs/startup-containers-in-lightning-speed-with-lazy-image-distribution-on-containerd-243d94522361 - Blog (JP) - https://knqyf263.hatenablog.com/entry/2021/06/15/071057

https://github.com/termoshtt/ocipkg/runs/7785162736?check_suite_focus=true ``` = note: /usr/bin/ld: /home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-69edc9ac8de4d39c.rlib(std-69edc9ac8de4d39c.std.2a45fe64-cgu.0.rcgu.o): in function `rust_oom': /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/alloc.rs:334: multiple definition of `rust_oom'; /home/runner/.local/share/ocipkg/ghcr.io/termoshtt/ocipkg/static/rust/__0dbc47b/libocipkg_static_rust.a(std-7ca39ac42651c3df.std.41a414a5-cgu.0.rcgu.o):/rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/alloc.rs:334: first defined here ``` `example/static/rust/exe` causes above link error, which caused by linking rust-std twice;...

bug

https://github.com/termoshtt/ocipkg/runs/8055319594?check_suite_focus=true in #70 ``` Run cd examples/static/rust/lib Compiling ocipkg-static-rust v0.1.0 (/home/runner/work/ocipkg/ocipkg/examples/static/rust/lib) Finished release [optimized] target(s) in 0.76s Creating oci-archive (/home/runner/work/ocipkg/ocipkg/examples/static/rust/lib/target/release/ocipkg_89cb16368199808a.tar) Publish container (ghcr.io/termoshtt/ocipkg/static/rust:f787a2b) Error: RegistryError(ErrorResponse { errors: [ErrorInfo { code:...

https://github.com/opencontainers/image-spec/blob/7b36cea86235157d78528944cb94c3323ee0905c/config.md > Layers SHOULD be packed and unpacked reproducibly to avoid changing the layer DiffID, for example by using [tar-split](https://github.com/vbatts/tar-split) to save the tar headers. How should we realize this...

On https://github.com/termoshtt/ocipkg/commit/fe607df8aff71b7ea9f1fbed221d251efe574b41 ```bash cd examples/rust-lib cargo ocipkg build ``` will generates `target/debug/ocipkg-lib-example.tar`, and it can be read from `podman`: ``` $ podman load < target/debug/ocipkg-lib-example.tar Getting image source signatures Copying...

Current implementation drops manifest and image configuration when saving.

ocipkg 0.1.0 packs files and directories in a layer, and can only read single layer containers since this is enough if we only using ocipkg. However, we have to implement...

To use in another toolchain, e.g. cmake, this project should be easily install-able.