alpine-cli/README.md
Jason Swank ac6aa468f5 cleanup
2023-03-16 12:21:36 -04:00

36 lines
582 B
Markdown

# alpine-cli
A minimal image for running Linux CLI utilities - shell scripts and similar.
This is useful for both interactive purposes or as the basis for other utility
images.
## Quickstart
```console
docker run -ti --rm ghcr.io/jswank/alpine-cli
~ $ ^D
exit
```
A script, using [casey/just](https://github.com/casey/just') is in [bin/cli](bin/cli).
It can be used to quickly start an ephemeral (or persistent) container:
```console
bin/cli
~ $ ^D
exit
bin/cli persist
~ $ ls
~ $
exit
podman cp foo.json alpine-cli:/home/cli
bin/cli persist
~ $ ls
foo.json
~ $
exit
```