From 9aa78caeee5144f617042fc65cf1331c7ff91a61 Mon Sep 17 00:00:00 2001 From: "Heavy@Hetzner" Date: Thu, 2 Feb 2023 10:51:27 +0000 Subject: [PATCH] Adjusted docker commands (docker compose, without '-'). --- dot_bashrc.d/executable_09.functions.tmpl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dot_bashrc.d/executable_09.functions.tmpl b/dot_bashrc.d/executable_09.functions.tmpl index ff88c90..f067670 100755 --- a/dot_bashrc.d/executable_09.functions.tmpl +++ b/dot_bashrc.d/executable_09.functions.tmpl @@ -149,14 +149,13 @@ topby() { } # Docker helpers -# Update docker-compose containers +# Update docker compose containers # https://stackoverflow.com/questions/49316462/how-to-update-existing-images-with-docker-compose dcupdate() { - # TODO: check when sudo is needed - docker-compose pull - docker-compose up -d + # TODO: will fail, if user is not allowed to use docker + docker compose pull + docker compose up -d docker image prune - # TODO: logfile } # Python virtualenv helper