Skip to content

Docker Installation

XternA edited this page Apr 4, 2024 · 27 revisions

The stack utilizes containerization technologies such as Docker to run applications in a virtualized and isolated environment from the host.

Docker doesn't need to be pre-installed as the tool is capable of installing Docker. Though if it is already installed then the process becomes much easier.

Linux/macOS

When using the tool, from the main menu, select for Install/Uninstall Docker option which will present the following sub-menu.

Income Generator Application Manager
----------------------------------------

1. Install Docker
2. Uninstall Docker
0. Back to Main Menu

Select an option (1-2):

Choosing either option will install or uninstall docker completely from the host system. If Docker is already installed then nothing happens.

macOS (Darwin)

Installing docker directly via the tool on macOS is also fully supported. The tool uses the Homebrew package manager to automate this process, similar to Linux distro Ubunutu's apt package manager. This will be pre-installed when the tool starts for the first time and the binary isn't found on the system.

Unlike Linux where the Docker-CLI is installed. On macOS, there is no option to install just the CLI version but Docker Desktop is installed instead which includes the underlying CLI and Docker Engine.

When installing Docker via the tool, the Docker Desktop will launch during the installation. It's recommended to go through the setup on Docker Desktop. An account is not required and can be skipped.

The only thing that needs doing is to ensure the Docker Engine is started every time (Which runs the containerized applications and ensures they're running). Without this, none of the containerized apps will run.

Open the Docker Desktop UI and navigate to the settings ⚙️ panel.

  1. Check Start Docker Desktop
    • This will start the Docker Engine on host system startup.
  2. Uncheck Open Docker Dashboard
    • This will prevent the UI from loading up on startup.

We don't need to interface with the UI at all. There's no option currently to install the CLI independently.

Another thing to note. Closing and Quitting the Docker Desktop has two meanings:

  • Closing - The Docker Engine is still running, which means all the applications will still be live.
  • Quitting - The Docker Engine will completely shut down, which means all applications will cease operation. No income generating.

Therefore, to keep the applications running ensure that if you do open the Docker Desktop, just close it and not terminate it. This includes the icon in the top menubar.

Clone this wiki locally