Merge pull request #8313 from ulyssessouza/remove-compose-v2-msg

Remove advertisement for `docker compose` from up
This commit is contained in:
Ulysses Souza 2021-05-10 06:55:42 -03:00 committed by GitHub
commit aca6edd631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1144,9 +1144,6 @@ class TopLevelCommand:
attach_dependencies = options.get('--attach-dependencies')
keep_prefix = not options.get('--no-log-prefix')
if not IS_LINUX_PLATFORM:
print('Docker Compose is now in the Docker CLI, try `docker compose up`\n')
if detached and (cascade_stop or exit_value_from or attach_dependencies):
raise UserError(
"-d cannot be combined with --abort-on-container-exit or --attach-dependencies.")