Starting, Restarting, and Stopping the Hyperscience Application

Note that you can run Docker commands on Podman with the podman-docker package. To learn how to install the podman-docker package, see step 2 of Configuring Podman in RHEL 8.

To start, restart, or stop the Hyperscience application, you can run the following command:

sudo bash run.sh [--force] [--start|--restart|--stop] [--clean] <role>

The <role>  could be one of init | backend | frontend | db. The default value is backend and frontend.

--start starts the Hyperscience role. This is the default option.

--restart restarts the Hyperscience role.

--stop stops the Hyperscience role.

--clean combined with --stop removes the application containers. An example of this combination is shown in the following command:

sudo bash run.sh --stop --clean

--clean combined with --restart recreates the application containers. An example of this combination is shown below:

sudo bash run.sh --restart --clean