more docs
This commit is contained in:
parent
34aab248f7
commit
2bcd43d4df
24
README.md
24
README.md
@ -11,6 +11,24 @@ $ docker run -ti --rm ghcr.io/jswank/alpine-cli
|
|||||||
~ $ ^D
|
~ $ ^D
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
$ bin/cli
|
||||||
|
~ $ ^D
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
## More Info
|
||||||
|
|
||||||
|
The image is based on *alpine:edge*, with a small amount of additional setup/installation done. See
|
||||||
|
the [Dockerfile](Dockerfile) and [ctx/](ctx) for the specifics.
|
||||||
|
|
||||||
|
- Some basic utilities are installed for interative and script-based shell usage
|
||||||
|
- A user is created with sudo (`-u root`) access.
|
||||||
|
- A few personal preferences are enabled via dotfiles.
|
||||||
|
|
||||||
|
A helper 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) containers.
|
||||||
|
|
||||||
|
```console
|
||||||
$ bin/cli --list
|
$ bin/cli --list
|
||||||
Available recipes:
|
Available recipes:
|
||||||
clean # remove the persistent image
|
clean # remove the persistent image
|
||||||
@ -18,12 +36,6 @@ Available recipes:
|
|||||||
persist # run (or attach to) a perisent container {{n}}
|
persist # run (or attach to) a perisent container {{n}}
|
||||||
run # run a temporary container based on {{image}}
|
run # run a temporary container based on {{image}}
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
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
|
$ bin/cli
|
||||||
~ $ ^D
|
~ $ ^D
|
||||||
exit
|
exit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user