From a31ce52143334dcf081d1913a04c69b5c6efdf0d Mon Sep 17 00:00:00 2001 From: Kiya Govek Date: Wed, 15 Nov 2023 16:34:58 -0500 Subject: [PATCH] migrate to Docker Compose V2 using Usage: docker compose [OPTIONS] COMMAND Docker Compose Options: --ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") --compatibility Run compose in backward compatibility mode --env-file string Specify an alternate environment file. -f, --file stringArray Compose configuration files --profile stringArray Specify a profile to enable --project-directory string Specify an alternate working directory (default: the path of the, first specified, Compose file) -p, --project-name string Project name Commands: build Build or rebuild services convert Converts the compose file to platform's canonical format cp Copy files/folders between a service container and the local filesystem create Creates containers for a service. down Stop and remove containers, networks events Receive real time events from containers. exec Execute a command in a running container. images List images used by the created containers kill Force stop service containers. logs View output from containers ls List running compose projects pause Pause services port Print the public port for a port binding. ps List containers pull Pull service images push Push service images restart Restart service containers rm Removes stopped service containers run Run a one-off command on a service. start Start services stop Stop services top Display the running processes unpause Unpause services up Create and start containers version Show the Docker Compose version information Run 'docker compose COMMAND --help' for more information on a command. --- .omero/compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.omero/compose b/.omero/compose index 35a9706..74832f5 100644 --- a/.omero/compose +++ b/.omero/compose @@ -9,4 +9,4 @@ PROJECT=${PROJECT:-$(get_project_name)} # making use of COMPOSE_PROJECT_NAME cd $dir -exec docker-compose -p ${PROJECT} "$@" +exec docker compose -p ${PROJECT} "$@"