Explain how the install command can seem to hang for several minutes without anything to happen (#15299)

This commit is contained in:
Mathieu Champlon 2022-08-03 08:32:52 +02:00 committed by GitHub
parent dfa7fc3b8e
commit 03bff5d55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ $ sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
$ sudo hdiutil detach /Volumes/Docker
```
As macOS typically performs security checks the first time an application is used, the `install` command can take several minutes to run.
The `install` command accepts the following flags:
- `--accept-license`: accepts the [Docker Subscription Service Agreement](https://www.docker.com/legal/docker-subscription-service-agreement){: target="_blank" rel="noopener" class="_"} now, rather than requiring it to be accepted when the application is first run
- `--allowed-org=<org name>`: requires the user to sign in and be part of the specified Docker Hub organization when running the application