Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFO] Docker Compose v2 #355

Closed
doob187 opened this issue Oct 2, 2021 · 7 comments
Closed

[INFO] Docker Compose v2 #355

doob187 opened this issue Oct 2, 2021 · 7 comments
Assignees

Comments

@doob187
Copy link
Contributor

doob187 commented Oct 2, 2021

Info

https://docs.docker.com/compose/cli-command/

Compose V2 and the new docker compose command馃敆
Important

The new Compose V2, which supports the
compose command as part of the Docker CLI, is now available.

Compose V2 integrates compose functions into the Docker platform, continuing to support most of the previous docker-compose features and flags. You can test the Compose V2 by simply replacing the dash (-) with a space, and by running docker compose, instead of docker-compose.

@TRaSH- TRaSH- pinned this issue Oct 2, 2021
@TRaSH-
Copy link
Contributor

TRaSH- commented Oct 2, 2021

Thnx,
I'll keep it mind for for upcoming updates, and when it starts to get more common for different OS's
@nemchik I presume you also would be interested in this.

@nemchik
Copy link
Contributor

nemchik commented Oct 2, 2021

I've got eyes on it. A future version of docker will come with compose v2 built in.

@TRaSH-
Copy link
Contributor

TRaSH- commented Oct 2, 2021

I've got eyes on it. A future version of docker will come with compose v2 built in.

Let me know, so i know when i should update.
I'll keep this pinned so we don't forget ;)

@nemchik
Copy link
Contributor

nemchik commented Oct 2, 2021

it looks like it's not 100% compatible with v1, but by the sounds of it we are better off adjusting things we have that use compose to be compatible with v2. they should be mostly backwards compatible afterwards. main thing i noticed right off the bat was v2 is picky about the values inside environment variables. it doesn't like what i have for one of my watchtower variable values. i'll investigate and work on it.

also, i don't love that they are recommending to install v2 in the user home directory. you can also install it globally, and you could end up with multiple different versions installed, which could lead to inconsistencies. i'd like to see them just bake it into the docker command line rather than asking users to install it separately, but i don't know how soon that'll happen. alternatively they could do something like docker plugin install compose but they have already said there shouldn't be a need for that once it's built into the docker cli, so they aren't going to put efforts into the plugin install method.

@stale
Copy link

stale bot commented Nov 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 1, 2021
@nemchik
Copy link
Contributor

nemchik commented Nov 1, 2021

Not stale, but no updates.

@stale stale bot removed the stale label Nov 1, 2021
@stale
Copy link

stale bot commented Dec 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 2, 2021
@doob187 doob187 closed this as completed Dec 2, 2021
@FonduemangVI FonduemangVI unpinned this issue Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants