feat: add container function

This commit is contained in:
Strix 2023-11-19 01:19:47 +01:00
parent 02ace21e60
commit 9f33f3e258
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -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"