Skip to content

Commit be0ec95

Browse files
committed
Improve README.md
1 parent 7cbabc4 commit be0ec95

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,19 @@ $ dockerc --image docker://oven/bun --output bun
1212
$ zig-out/bin/dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
1313
```
1414

15+
The output binary can then be called as you would with usual binaries. You can
16+
also specify `-e`, and `-v` in the same way you would when using `docker run`.
17+
Networked services running inside the container can be accessed directly without
18+
having to specify `-p`.
19+
1520
Skopeo is used for loading images, for other locations refer to [its documentation][1].
1621

22+
## Build from source
23+
24+
```
25+
$ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
26+
```
27+
1728
## Features
1829

1930
- [X] Compiler docker images into portable binaries
@@ -22,10 +33,11 @@ Skopeo is used for loading images, for other locations refer to [its documentati
2233
- [X] x86_64 support
2334
- [ ] arm64 support
2435
- [X] Supports arguments
25-
- [X] [Supports environment variables specifying environment variables][2]
26-
- [ ] Support `-v`
36+
- [X] [Supports specifying environment variables using `-e`][2]
37+
- [X] [Supports specifying volumes using `-v`][3]
2738
- [ ] Support other [arguments][0]...
2839

2940
[0]: https://docs.docker.com/engine/reference/commandline/container_run/
3041
[1]: https://github.com/containers/skopeo/blob/main/docs/skopeo.1.md#image-names
3142
[2]: https://docs.docker.com/reference/cli/docker/container/run/#env
43+
[3]: https://docs.docker.com/reference/cli/docker/container/run/#volume

0 commit comments

Comments
 (0)