Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from scratch and image config #4

Merged
merged 2 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else
endif

.PHONY: all
all: build
all: binary

bin:
mkdir -p $@
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,25 @@ OCI (Open Container Initiative) image builder written in Rust.

The project is under development and not ready for usage (feel free to contribute).

## Build binary

```shell
make
```

## Example

```shell
ctr1=$(ocibuilder from "${1:-quay.io/quay/busybox:latest}" | tail -1)
ocibuilder config --author navid --user apache $ctr1
ocibuilder config --port 4444/tcp $ctr1
```

## Commands

| Command | Description |
| ---------- | ----------- |
| config | Update image configuration settings.
| containers | List the working containers and their base images.
| from | Creates a new working container either from scratch or using an image.
| images | List images in local storage.
Expand Down
Loading
Loading