feat: add container function
This commit is contained in:
parent
02ace21e60
commit
9f33f3e258
1 changed files with 9 additions and 0 deletions
|
@ -32,4 +32,13 @@ share_cdn() {
|
||||||
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
|
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
container() {
|
||||||
|
docker run \
|
||||||
|
-ti \
|
||||||
|
--rm \
|
||||||
|
--name tmp-$(id -u)-$(openssl rand -hex 8) \
|
||||||
|
alpine \
|
||||||
|
ash
|
||||||
|
}
|
||||||
|
|
||||||
alias q="exit"
|
alias q="exit"
|
Loading…
Reference in a new issue