From dc2300b9cbcac96dd96ebc48bf9085929fac70d1 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sun, 21 Aug 2022 16:22:16 +0200 Subject: [PATCH] added docker aliases --- bashrc_overrides/_all | 1 + bashrc_overrides/docker_aliases | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 bashrc_overrides/docker_aliases diff --git a/bashrc_overrides/_all b/bashrc_overrides/_all index 9091aa2..e167731 100644 --- a/bashrc_overrides/_all +++ b/bashrc_overrides/_all @@ -1,5 +1,6 @@ for source in colored_commands \ convenience_aliases \ + docker_aliases \ git_functions \ histcontrol \ home_bin_folder \ diff --git a/bashrc_overrides/docker_aliases b/bashrc_overrides/docker_aliases new file mode 100644 index 0000000..4712b59 --- /dev/null +++ b/bashrc_overrides/docker_aliases @@ -0,0 +1,6 @@ +alias dockerup='docker compose up' +alias dockerupd='docker compose up -d' +alias dockerdown='docker compose down' +alias dockerdownv='docker compose down --volumes' +alias dockerlogs='docker compose logs --tail=10' +alias dockerlogsf='docker compose logs --tail=10 --follow'