Skip to content

Commit

Permalink
Merge pull request #4 from navidys/develop
Browse files Browse the repository at this point in the history
from scratch and image config
  • Loading branch information
navidys authored Oct 27, 2024
2 parents 65fb311 + 7901b72 commit 5823af2
Show file tree
Hide file tree
Showing 11 changed files with 591 additions and 4 deletions.
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

0 comments on commit 5823af2

Please sign in to comment.