-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Tool information
- Tool name: Docker Desktop (MacOS Docker.app)
- Add or update? Add
- Desired version: 2.1.*
- Approximate size:
- If this is an add request:
- Brief description of tool: Docker to run containerized applications
- URL for tool's homepage: https://www.docker.com/community-edition
Virtual environments affected
- macOS 10.15
Can this tool be installed during the build?
While the app installation itself works, initial startup requires runner user's password. This I do not have nor can set via password reset (as explained by Thomas Baillie from GitHub Developer Support in an support request email, Nov 27, 10:10 AM UTC ).
Docker.app refuses to start with sudo. It must to be started as a regular user and user must provide a password via UI dialog (which could be done with applescript if I had OR could reset the runner user's password).
This is not just adding the Docker.app, but also starting it with correct permissions so that the network settings can be configured. After the initial launch Docker.app can be stopped, and future startups should work fine with no passwords nor sudo's involved.
Project, branch and workflow that is an example of this need (trying to launch a docker-compose -based tool for testing in MacOS):
https://github.com/Exove/local-docker/blob/ci-jobs-initial-test-to-pass/.github/workflows/macos-latest--tests.yml
Are you willing to submit a PR?
Sure if I only get some instructions how to achieve this.