Skip to main content

Run

The Run mode of a project is where you can take your generated code for a spin. Tangram Pro™ uses the Dockerfile you provide when configuring your build to create a container image and push that image to the Tangram Pro™ container registry. During a Run, Tangram Pro™ uses those images to run containers and display your container's execution via system logs, so that you can quickly and effortlessly watch your code in action.

Run a Build

  1. Open a project that has a completed and containerized build
  2. Select Run in the top left menu
  3. Select a completed build
  4. Click the Run button

If you are already viewing a completed containerized build, then simply click its Run button.

Run

View Previous Runs

You can access all of your previous runs at any time by clicking Runs button on the top right.

Run Docker Compose Locally

The container images that Tangram Pro creates can be run locally from your computer using Docker.

  1. View a completed build that was containerized
  2. Click the blue Docker Compose button to download its docker-compose.yml file Run
  3. Create an API Key for your Tangram User
    1. Select the Registry Scope.
    2. Copy the docker login ... command and store your token in a safe place
  4. Install and open the Docker Desktop app
  5. Open Terminal
    1. Enter the docker login ... command that you copied earlier
    2. Change directory to where you downloaded the docker-compose.yml file, like cd Downloads
    3. Enter command docker compose up. If you are on a newer version of docker compose, enter command docker compose up -d && docker compose logs --follow to print logs to the terminal