Unattended installation for Rancher Desktop (macOS)
See original GitHub issuePreflight Checklist
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
I’d like to be able to use Rancher Desktop in CI, so need to be able to install it from the command-line. Is there a way to do this, or would appreciate adding one. Are there args for “Rancher Desktop.app”?
Proposed Solution
Add an arg to “Rancher Desktop.app” so it could be run with open -a /Applications/Rancher\ Desktop.app --args "--install"
for example.
This would also mean needing to be able to configure it. For example, switch it to dockerd, which is not the default.
Additional Information
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Installation - Rancher Desktop Docs
Installing Rancher Desktop on macOS · Go to the releases page on GitHub. · Find the version of Rancher Desktop you want to...
Read more >How to install Rancher Desktop on Linux and macOS
The macOS installation is considerably easier than it is on Linux. All you need to do is download the correct Rancher Desktop binary...
Read more >Silent install of Rancher v1.21 on MacOS #2090 - GitHub
Is it possible to do a silent install of all the apps/files necessary, and the end user will NOT be asked for admin...
Read more >Rancher Desktop Setup for K8s on your macOS laptop - Medium
For my personal K8s test lab on my MacBook, I use Rancher Desktop. ... stable version (1.25.3), containerd, and Automatic path configuration as...
Read more >Using Rancher Desktop for Local Kubernetes Development
Installing Rancher Desktop ... There are a few different ways to add Rancher Desktop to your system. If you're running Windows or macOS,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not sure what would be required to automate installation; it is just moving
Rancher Desktop.app
into the/Applications
folder, and even that is not strictly necessary (but please don’t run it from$TMPDIR
).Configuring it automatically is not currently supported, but can probably be made to work by pre-creating some directories and dropping some config files…
But yet another issue is that starting with RD 0.7.0 we need to install some parts as root (the vmnet software that runs as root, potentially setting up the docker.sock, and one other thing I cannot remember right now). So this will pop up a dialog asking for a
sudo
password on first run (plus another “explainer” dialog just before that).I’m sure we can figure something out, even if it isn’t an officially supported/endorsed mechanism, but am on vacation now until the end of the year. Will look at it again when I’m back!
We currently do not have any argument parsing, as Rancher Desktop is designed for interactive development use. We have not focused on non-interactive usage at this point.
I’m going to leave this open, but please be aware that (as far as I know — I’m not the PM) this is not currently in the short term road map, and there are no promises of when this may be implemented.
Thanks for filing the request!