From 52a96193ad5a0dbd9a584274ca6f2a77e15fc1d3 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Thu, 4 Jul 2024 16:24:53 +0100 Subject: [PATCH] refactor(shell): move from docker-compose to docker compose This has been on the cards to quite a while. I have been getting reminders from work that I need to upgrade. I have also just had an issue on one of my servers that resulted in using old versions and silently failing. --- site-modules/core/files/oh-my-zsh/custom/docker.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site-modules/core/files/oh-my-zsh/custom/docker.zsh b/site-modules/core/files/oh-my-zsh/custom/docker.zsh index 6eca923..3b67361 100644 --- a/site-modules/core/files/oh-my-zsh/custom/docker.zsh +++ b/site-modules/core/files/oh-my-zsh/custom/docker.zsh @@ -37,11 +37,11 @@ function dkip() { # # Docker Compose # -alias dkc="docker-compose" -alias dkcdown="docker-compose down" -alias dkcup="docker-compose up -d" +alias dkc="docker compose" +alias dkcdown="docker compose down" +alias dkcup="docker compose up -d" function dkcrestart() { - docker-compose stop $1 - docker-compose up -d $1 + docker compose stop $1 + docker compose up -d $1 }