|
1 | | -# RD |
| 1 | +# Rancher Desktop |
2 | 2 |
|
3 | | -Note: RD only works on mac at the moment. |
| 3 | +Rancher Desktop is an open-source project to bring Kubernetes and container management to the desktop. |
| 4 | +Windows and MacOS versions of Rancher Desktop are available for download. |
4 | 5 |
|
5 | | -This is in pre-alpha and needs to be run using developer tools. |
| 6 | +## Features |
6 | 7 |
|
7 | | -## Prerequisites |
| 8 | +Rancher Desktop provides the following features in the form of a desktop application: |
8 | 9 |
|
9 | | -* Be on macos (note, expansion to other operating systems is planned) |
10 | | -* Node.js |
| 10 | +- The version of Kubernetes you choose |
| 11 | +- Ability to test upgrading Kubernetes to a new version and see how your workloads respond |
| 12 | +- Build, push, and pull images (powered by [KIM](https://github.com/rancher/kim)) |
| 13 | +- Expose an application in Kubernetes for local access |
11 | 14 |
|
12 | | -* The following pre-requisites are needed by the vue testing framework. |
| 15 | +All of this is wrapped in an open-source application. |
13 | 16 |
|
14 | | -* macos: |
| 17 | +## Get The App |
| 18 | + |
| 19 | +You can download the application for MacOS and Windows on the [releases page](https://github.com/rancher-sandbox/rd/releases). |
| 20 | + |
| 21 | +Note, [development builds](https://github.com/rancher-sandbox/rd/actions/workflows/package.yaml) are available from the CI system. Development builds are not signed. |
| 22 | + |
| 23 | +## Base Design Details |
| 24 | + |
| 25 | +Rancher Desktop is an electron application with the primary business logic being written in TypeScript and JavaScript. It leverages several other pieces of technology to provide the platform elements which include k3s, kim, kubectl, wsl, hyperkit, and more. The application wraps numerous pieces of technology to provide one cohesive application. |
| 26 | + |
| 27 | +## Building The Source |
| 28 | + |
| 29 | +Rancher can be built from source on MacOS or Windows. The following provides some detail on building. |
| 30 | + |
| 31 | +### Prerequisites |
| 32 | + |
| 33 | +Rancher Desktop is an [electron](https://www.electronjs.org/) and [node.js](https://nodejs.org/) application. node.js needs to be installed to build the source. |
| 34 | + |
| 35 | +The following is a breakdown of the pre-requisites for each platform. These need to be installed first. |
| 36 | + |
| 37 | +**macos:** |
15 | 38 |
|
16 | 39 | ```bash |
17 | 40 | brew install pkg-config cairo pango libpng jpeg giflib librsvg |
18 | 41 | ``` |
19 | 42 |
|
20 | | -* ubuntu: |
| 43 | +**ubuntu:** |
21 | 44 |
|
22 | 45 | ```bash |
23 | 46 | sudo apt-get install -y libcairo2-dev libpango1.0-dev libpng-dev libjpeg-dev libgif-dev librsvg2-dev |
24 | 47 | ``` |
25 | 48 |
|
26 | 49 | ### Windows |
27 | 50 |
|
28 | | -Experimental Windows support is in development. |
29 | | - |
30 | | -#### Quick Start |
31 | | - |
32 | 51 | 1. Download a Microsoft Windows 10 [development virtual machine]. |
33 | 52 | 2. Open a privileged PowerShell prompt (hit Windows Key + `X` and open |
34 | 53 | `Windows PowerShell (Admin)`). |
@@ -80,7 +99,7 @@ $Env:GYP_DEFINES = 'GTK_Root="C:/Path/To/GTK" jpeg_root="C:/Path/To/libjpeg"' |
80 | 99 | [libjpeg-turbo development files]: https://sourceforge.net/projects/libjpeg-turbo/files/2.0.6/libjpeg-turbo-2.0.6-vc64.exe/download |
81 | 100 | [Scoop]: https://scoop.sh/ |
82 | 101 |
|
83 | | -## How To Run |
| 102 | +### How To Run |
84 | 103 |
|
85 | 104 | Use the following commands. The former is needed the first time or after an |
86 | 105 | update is pulled from upstream. The latter is needed for follow-up starts. |
|
0 commit comments