Help installing a software using Docker

There is an open source software called OpenTidalFarm. On the installation instruction page it says to first install Docker (which I already did) and then install the FEniCS Docker script:

curl -s https://get.fenicsproject.org | bash

It says to make sure you run this and other commands inside the Docker Quickstart Terminal.

Then to start an OpenTidalFarm session I need to run the following command:

fenicsproject run Quay

Where do I run those commands? Im a newbie. Appreciate your help.