-
Notifications
You must be signed in to change notification settings - Fork 3k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Docker Desktop (MacOS) #115
Comments
This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity. |
I'd need some help how to add the Docker as this repository contains merely a list of available binaries, but not the binaries . |
Hello @rpsu , thank you for your suggestion! |
My use case is I'd like to be able to have CI test for an app exactly the way end users do it in MacOS. An alternative option - using docker-machine and Xhyve hypervisor seems not to work (at least I have not found a way yet). https://github.com/Exove/local-docker/pull/103/checks?check_run_id=574053551 So there are 2 ways I can think of this could be solved:
Based on the tests currently launching the docker for the first time requires users password |
thanks! |
Yep, that is correct location. Also we will update #433 as soon as update is available |
@rpsu looks like Docker licensing doesn't actually allow us to put this in the hosted images so we won't be adding it at this time. Thanks for the suggestion! |
@alepauly okay, I see. I think I can manage with the Virtualbox providing the VM. I do have some difficulties with bash variables (seemingly not working as they do in desktop), can you point me to someone or some docs how to play with them in macos VM? |
@rpsu , Am I right that you need some docs about configuring Docker + Virtualbox on hosted machine? |
Mac on github actions doesn't have docker installed. actions/runner-images#115
* Import deno / dnit utils * Add github workflows for CI test * Run docker build in runConsole * Drop CI on macOS-latest Mac on github actions doesn't have docker installed. actions/runner-images#115 * Add export of docker functions * Flatten docker run command and args to one list cmds : string[] * Split dockerRun into smaller utils. * Option for docker interactive opt-out * Updates to runProcess * Drop back to single process instead of processPipe * Keep output statuses and stderrs, stdouts
Credit to actions/runner-images#115 for the help
Tool information
Virtual environments affected
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.
The text was updated successfully, but these errors were encountered: