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

# Docker

There are two ways to obtain a Kona Docker image:

1. [GitHub](#github)
2. [Building it from source](#building-the-docker-image)

Once you have obtained the Docker image, you can run the node.

Jump ahead to [Run a Node using Docker page](/rust/kona/node/run/docker).

## GitHub

Kona docker images are published with every release on GitHub Container Registry.

You can obtain the latest `kona-node` image with:

```bash theme={null}
docker pull us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node
```

<Note>
  Specify a specific version (e.g. v0.1.0) like so.

  ```bash theme={null}
  docker pull us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node:v0.1.0
  ```
</Note>

You can test the image with:

```bash theme={null}
docker run --rm us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node --version
```

If you can see the [latest release](https://github.com/ethereum-optimism/optimism/releases) version,
then you've successfully installed Kona via Docker.

## Building the Docker image

To build the image from source, navigate to the root of the repository and run:

```bash theme={null}
just build-local kona-node
```

<Note>
  This will create an image with the tag `kona:local`. To specify a custom
  tag, just pass it in after `kona-node` in the command above, like so:

  ```bash theme={null}
  just build-local kona-node my-custom-tag
  ```
</Note>

The build will likely take several minutes. Once it's built, test it with:

```bash theme={null}
docker run kona:local --version
```
