ome / omero-cli-transfer

An OMERO CLI plugin for creating transfer packets between OMERO servers.
https://pypi.org/project/omero-cli-transfer/
GNU General Public License v2.0
16 stars 14 forks source link

migrate to Docker Compose V2 using 'docker compose' #70

Closed govekk closed 1 year ago

govekk commented 1 year ago

Since July 2023, Docker Compose V1 (docker-compose) is no longer included in Docker Desktop, and it is highly recommended to migrate to Docker Compose V2 (docker compose).

Tested on my Docker (version 20.10.19) installation on Linux: docker-compose was not automatically aliased to docker compose so .omero/docker cli failed previously. After changing to docker compose, tests passed. This should work on all currently supported versions of Docker (according to their migration page linked above), but would be nice for someone on Windows (@erickmartins?) to confirm.

Another option would be to replace with docker compose --compatibility which keeps the container naming scheme of V1, if any tests refer to hard-coded container names. But both ran fine for me and I don't know how long --compatibility will be supported.