Skip to content

Commit

Permalink
devonfw#690: added instructions to run R D at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnamon-coder-hub committed Apr 26, 2022
1 parent 4e7d88a commit 6b5531e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions documentation/docker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ The Docker commandlet allows to install and use https://www.docker.com/[Docker].
On Windows https://docs.microsoft.com/en-us/windows/wsl/install-win10[WSL 2](Windows Subsystem for Linux) has to be installed properly as a prerequisite.
It also offers the installation of https://rancherdesktop.io/[Rancher Desktop], which works on Windows, Mac and Linux.
To run the tools installed and managed by Rancher Desktop it is necessary to have Rancher Desktop up and running.
To assure that you are able to use these tools directly after startup, you can add Rancher Desktop to the start up programs
of your Operating System. For Windows 10 you can use the following https://www.dell.com/support/kbdoc/de-de/000124550/how-to-add-app-to-startup-in-windows-10[Instructions on how to set start up programs].

To assure that you are able to use these tools directly after startup, you can add Rancher Desktop to the startup programs
of your Operating System. Such instructions will be given below inside the sections for Windows, Mac and Linux.
*ATTENTION:*
Currently this feature is new and therefore experimental.
It may change in incompatible ways in the next releases until we reach a stable state.
Expand Down Expand Up @@ -59,6 +58,8 @@ If you use Docker and Kubernetes on your local machine on a daily basis this mak
In case you only use Docker rarely, you can save resources by stopping it when not needed after it has been installed.

=== Windows and macOS
For Windows 10 you can use the following https://www.dell.com/support/kbdoc/de-de/000124550/how-to-add-app-to-startup-in-windows-10[Instructions on how to set startup programs for Windows 10], so that Rancher Desktop starts with your OS.

To enable or disable autostart, you can launch Docker Desktop on Windows or MacOS go to the `Preferences` (gear icon in the title bar). Then in the `General` tab you can check or uncheck the option `Start Docker Desktop when you login` (see also https://docs.docker.com/docker-for-windows/#general[here]). When autostart is disabled and you launch Docker Desktop it will notice and ask your to start the service or do this automatically for you.
On Windows you can also manually tweak this:

Expand All @@ -70,6 +71,8 @@ On Windows you can also manually tweak this:
* Also when right clicking on Docker Desktop Service and selecting `Options` from the context-menu, you can change the start type to `automatic` or `manual`.

==== Mac A1
Have a look at the https://www.makeuseof.com/tag/add-remove-delay-startup-items-mac/[Instructions on how to set startup programs for MacOS] to make Rancher Desktop run directly after starting up your OS.

In case you have a new Mac with A1 CPU, we automatically download and install the according ARM version of Docker Desktop or Rancher Desktop for macOS.
However, if you use Docker and search for images you may end up with errors like:
```
Expand All @@ -81,6 +84,9 @@ So with A1 CPU you may need to add `--platform linux/x86_64` as option to your D
=== Linux
Docker Desktop isn't available for Linux, but Rancher Desktop can be used as compareable alternative as mentioned before.

To make the usage of Rancher Desktop more comfortable and reliable let your operating system run it after starting up your system.
On many Linux distributions you can just go to your menu (usually by clicking the icon at your screens left bottom), type "startup" and start your systems GUI-startup manager, if popping up. At the following website you can find some https://www.simplified.guide/linux/automatically-run-program-on-startup[examples or other options on how to set startup programs for some Linux distributions].

== usage
Once installed via setup, you can run Docker from any shell of your OS directly. If you use Rancher Desktop just
make sure that Rancher Desktop runs in the background.
Expand Down

0 comments on commit 6b5531e

Please sign in to comment.