Add docker layer dive function
This commit is contained in:
parent
849bba82e6
commit
029f7a2af7
|
@ -72,3 +72,11 @@ function waifu2x() {
|
||||||
function waifu2x-photo() {
|
function waifu2x-photo() {
|
||||||
waifu2x --model-dir /usr/local/share/waifu2x-converter-cpp-photo $@
|
waifu2x --model-dir /usr/local/share/waifu2x-converter-cpp-photo $@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function dive() {
|
||||||
|
docker run \
|
||||||
|
--rm \
|
||||||
|
-it \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
wagoodman/dive
|
||||||
|
}
|
||||||
|
|
Reference in a new issue