> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start: Tyk Open Source Gateway

> Install and run Tyk Open Source Gateway with Docker in under 2 minutes.

Get Tyk Open Source Gateway running locally with Docker in a few steps. For other deployment options, see the [installation options](/apim/open-source/installation) page.

## Prerequisites

* [Docker Engine](https://docs.docker.com/engine/install/) 24.0 or later
* [Docker Compose](https://docs.docker.com/compose/install/) v2.20 or later

## Instructions

### Step 1: Create a Gateway configuration file

Create a file named `tyk.conf` with the following content:

```json theme={null}
{
  "listen_port": 8080,
  "secret": "your-secret",
  "template_path": "/opt/tyk-gateway/templates",
  "app_path": "/opt/tyk-gateway/apps",
  "storage": {
    "type": "redis",
    "host": "tyk-redis",
    "port": 6379
  }
}
```

For a full list of configuration options, see the [Gateway configuration reference](https://tyk.io/docs/tyk-oss-gateway/configuration).

### Step 2: Create a Docker Compose file

Create a file named `docker-compose.yml` with the following content:

```yaml theme={null}
services:
  tyk-gateway:
    image: tykio/tyk-gateway:v5.8.13
    ports:
      - "8080:8080"
    volumes:
      - ./tyk.conf:/opt/tyk-gateway/tyk.conf
    depends_on:
      - tyk-redis
  tyk-redis:
    image: redis:7.2.0
    ports:
      - "6379:6379"
```

<Note>
  `v5.8.13` is the current LTS release. Always check the [Gateway release notes](https://tyk.io/docs/developer-support/release-notes/overview) for the latest stable version before deploying.
</Note>

### Step 3: Start Tyk Gateway

```bash theme={null}
docker compose up -d
```

## Verify the Installation

Check that the Gateway is running:

```bash theme={null}
curl localhost:8080/hello
```

Expected response:

```json theme={null}
{"status": "pass", "version": "v5.x.x", "description": "Tyk GW"}
```

## Next Steps

* [Create your first API](/api-management/gateway-config-managing-oas#creating-an-api)
* [Explore installation options](/apim/open-source/installation)
