Docker compose has been rolled into the main CLI, so the hyphen is deprecated. - #1192
Docker compose has been rolled into the main CLI, so the hyphen is deprecated.#1192ryanpcmcquen wants to merge 1 commit into
Conversation
…precated. ```% docker-compose up -d Docker Compose is now in the Docker CLI, try `docker compose up` ```
|
|
|
Can you specify that this is only for MacOS and Windows? docker-archive/compose-cli#1149 (comment), and for what version of the docker cli this is for? Looks like the message was added to docker-compose 1.28.6, but I'm still running
|
|
I think it's too early, I use Ubuntu 20.04 and the official release channel of Docker and $ docker compose
docker: 'compose' is not a docker command.
See 'docker --help'
$ docker --version
Docker version 20.10.6, build 370c289Updating these commands would complicate the usage because users would have to rewrite every |
|
Hahahahaha: |
|
Let's wait a tiny bit until everyone has the new release. If the info message bothers you, I'm sure there is a way to disable it in the meantime. |
|
Users should be able to use an alias in their shell from |
|
I stumbled upon this PR again, and I saw that it targets only the documentation for MacOS. If the last release of Docker on MacOS deprecate |
|
Docker Compose 2.0 is still in beta, and breaks at least one |
|
@alexisLefebvre According to my tests, the "docker compose ..." subcommands are only optional if you explicitly install the "docker-compose-plugin". It may be that some distributions and Docker Desktop do this, but in general it does not seem to be the default. |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
|
I have changed this everywhere I found it. You are welcome to help me check if all changes are correct! |
* merge-221105: (346 commits) UX: Improve layout of form fields in photo edit dialog Account: Disable "gender" dropdown when busy photoprism#98 Docker: Change "docker-compose" command to "docker compose" photoprism#1192 Docker: Use docker compose profiles for watchtower example photoprism#1192 Docker: Change "docker-compose" command to "docker compose" photoprism#1192 Frontend: Upgrade dependencies in package.json and package-lock.json Frontend: Update translations.json and package-lock.json Weblate: Update backend translations Weblate: Update frontend translations Weblate: Update frontend translations Develop: Add "FOR TEST AND DEVELOPMENT ONLY" warning to config files NVIDIA: Update docker-compose.yml example photoprism#2613 NVIDIA: Add docker-compose.yml example photoprism#2613 NVIDIA: Update install-gpu.sh script photoprism#2613 Frontend: Update translations.json and package-lock.json Weblate: Update frontend translations Tests: Refactor acceptance tests Tests: Add DateTime unit test Video: Change FFmpeg params for NVidia hardware transcoding photoprism#2613 Frontend: Update package-lock.json ...
This should probably be propagated to all docker-compose files, but I can only test on Mac, so I only edited this one.