harbor icon indicating copy to clipboard operation
harbor copied to clipboard

support of docker compose v2+

Open EHEX-schildt opened this issue 3 years ago • 6 comments

Hi i am a bit confused about the software requirements for Harbor.

https://goharbor.io/docs/2.6.0/install-config/installation-prereqs/ Docker Compose | Version 1.18.0 or higher with a link to https://docs.docker.com/compose/install/ a gude to install Compose v2+

root@harbor # docker compose version Docker Compose version v2.10.2

The installer stops: Need to install docker-compose(1.18.0+) by yourself first and run this script again.

It looks like harbor/installer/harbor/common.sh only checks for Docker Compose < 2.0.0

Is installer support for Docker Compose v2+ planed?

EHEX-schildt avatar Sep 13 '22 13:09 EHEX-schildt

I think harbor has supported docker compose v2. cc @MinerYang

chlins avatar Sep 14 '22 02:09 chlins

Which version you are using? We have already support docker compose v2 in harbor v2.6.0. And sorry for the confusion we will update the official documentation soon

MinerYang avatar Sep 14 '22 02:09 MinerYang

Ok i got it. docker-compose vs. docker compose

When install Docker Compose Standalone it works.

I just installed the docker-compose-plugin before.

EHEX-schildt avatar Sep 14 '22 08:09 EHEX-schildt

We have updated the official documentation for support of docker compose v2+, please check out. https://goharbor.io/docs/2.6.0/install-config/installation-prereqs/

MinerYang avatar Sep 19 '22 07:09 MinerYang

Ok but now would assume that installing just the docker-compose-plugin like i dit before is ok.

The installer is not compatible with docker-compose-plugin and says i need to install docker-compose v1.18.0+.

The doc's should say docker compose v2 (Standalone only)

EHEX-schildt avatar Sep 19 '22 08:09 EHEX-schildt

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

github-actions[bot] avatar Nov 19 '22 09:11 github-actions[bot]

docker-compose (v1.18.0+) or docker compose v2 (docker-compose-plugin) has been update in the doc https://github.com/goharbor/website/blob/main/docs/install-config/installation-prereqs.md#software

MinerYang avatar Nov 24 '22 02:11 MinerYang