Skip to content

Commit

Permalink
dockerc 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsIrl committed Aug 9, 2024
1 parent d79a071 commit dbd1613
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Install dockerc from the [latest release](https://github.com/NilsIrl/dockerc/rel
# Image from docker hub
$ dockerc --image docker://oven/bun --output bun
# Image in local docker daemon storage
$ zig-out/bin/dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
$ dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
# Specify target instruction set architecture
$ docker --image docker://hello-world --arch arm64 --output hello
```

The output binary can then be called as you would with usual binaries. You can
Expand All @@ -28,6 +30,7 @@ Skopeo is used for loading images, for other locations refer to [its documentati

```
$ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
$ zig build -Doptimize=ReleaseSafe -Dtarget=aarch64-linux-musl
```

## Features
Expand All @@ -36,7 +39,7 @@ $ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
- [X] Rootless containers
- [ ] MacOS and Windows support (using QEMU)
- [X] x86_64 support
- [ ] arm64 support
- [X] arm64 support
- [X] Supports arguments
- [X] [Supports specifying environment variables using `-e`][2]
- [X] [Supports specifying volumes using `-v`][3]
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.name = "dockerc",
// This is a [Semantic Version](https://semver.org/).
// In a future version of Zig it will be used for package deduplication.
.version = "0.2.1",
.version = "0.3.0",

// This field is optional.
// This is currently advisory only; Zig does not yet do anything
Expand Down

0 comments on commit dbd1613

Please sign in to comment.