summaryrefslogtreecommitdiff
path: root/dot_local/share/sh/docker
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/share/sh/docker')
-rw-r--r--dot_local/share/sh/docker9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_local/share/sh/docker b/dot_local/share/sh/docker
new file mode 100644
index 0000000..a7ccf0a
--- /dev/null
+++ b/dot_local/share/sh/docker
@@ -0,0 +1,9 @@
+if . hascmd podman; then
+ alias docker=podman
+elif . hascmd docker; then
+else
+ return
+fi
+
+alias dit='docker run -it --rm'
+alias drun='dit -v "$(pwd)":/pwd:Z -w /pwd'