Skip to content

Instantly share code, notes, and snippets.

View LapsTimeOFF's full-sized avatar
🏝️
Living life at my rythm

Quentin LapsTimeOFF

🏝️
Living life at my rythm
View GitHub Profile
mkdir $1; tar -xf $2 -C ./$1
docker volume create $1
docker run --rm -v $PWD/$1:/volume --mount source=$1,target=/data busybox cp -r /volume/. /data/
docker run --rm -v $1:/data busybox ls /data
rm -rf $1
# How to use it?