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

# How to deploy autClaw with Docker

> Deploy autClaw with Docker bridge networking on Linux, Feiniu OS (FNOS), or Synology DSM, including the 8200 port mapping and persistent storage.

This guide shows how to deploy autClaw with the official Docker image. You will configure the `8200` port, persistent storage, and common NAS paths so plugins and data do not get lost during upgrades or container recreation.

## Prepare

* Install Docker.
* Make sure host port `8200` is available.
* Prepare a persistent directory for data, plugins, and runtime dependencies.

## Choose a deployment path

| Scenario         | Recommended method      | Default directory           |
| ---------------- | ----------------------- | --------------------------- |
| Linux server     | Docker bridge           | `/opt/autclaw`              |
| Feiniu OS (FNOS) | Docker + host directory | `/vol1/1000/docker/autclaw` |
| Synology DSM     | Docker + host directory | `/volume1/docker/autclaw`   |

## General Linux deployment

Use Docker bridge networking by default and map container port `8200` to host port `8200`.

```bash theme={null}
docker run -d \
  --name autclaw \
  --restart unless-stopped \
  --network bridge \
  -p 8200:8200 \
  -v /opt/autclaw:/opt/autclaw \
  nolan1121953/autclaw:latest
```

After startup, open:

```text theme={null}
http://SERVER_IP:8200
```

If you deploy locally, you can also open:

```text theme={null}
http://localhost:8200
```

## Deploy on Feiniu OS (FNOS)

SSH into Feiniu OS and run the command below. A common Docker config directory on Feiniu OS is `/vol1/1000/docker`. If your storage pool or user ID is different, replace the host path on the left side of `-v`.

```bash theme={null}
sudo mkdir -p /vol1/1000/docker/autclaw
sudo docker run -d \
  --name autclaw \
  --restart unless-stopped \
  --network bridge \
  -p 8200:8200 \
  -v /vol1/1000/docker/autclaw:/opt/autclaw \
  nolan1121953/autclaw:latest
```

After startup, open:

```text theme={null}
http://FEINIU_OS_IP:8200
```

## Deploy on Synology DSM / Container Manager

SSH into Synology and run the command below. A common persistent directory is `/volume1/docker/autclaw`. If your shared folder is on another storage pool, replace it with the actual path.

```bash theme={null}
sudo mkdir -p /volume1/docker/autclaw
sudo docker run -d \
  --name autclaw \
  --restart unless-stopped \
  --network bridge \
  -p 8200:8200 \
  -v /volume1/docker/autclaw:/opt/autclaw \
  nolan1121953/autclaw:latest
```

After startup, open:

```text theme={null}
http://SYNOLOGY_IP:8200
```

<Note>
  To change the port, for example mapping host port `18200` to container port `8200`, change `-p 8200:8200` to `-p 18200:8200`.
</Note>

## View logs

```bash theme={null}
docker logs -f autclaw
```

## Recreate the container

```bash theme={null}
docker rm -f autclaw

docker run -d \
  --name autclaw \
  --restart unless-stopped \
  --network bridge \
  -p 8200:8200 \
  -v /opt/autclaw:/opt/autclaw \
  nolan1121953/autclaw:latest
```

<Warning>
  Do not delete `/opt/autclaw`, `/vol1/1000/docker/autclaw`, or `/volume1/docker/autclaw` unless you explicitly want to clear data, plugins, and runtime dependencies.
</Warning>

## Common questions

### Can I change the port?

Yes. Change `-p 8200:8200` to the host port you want, such as `-p 18200:8200`.

### What should I keep when I recreate the container?

Keep the host persistent directory. Do not delete the database, plugins, or dependencies inside it.

### Can I deploy this on Windows?

The current docs target Linux and Docker deployments. Windows is not supported.

## Next steps

* Review [runtime directories and paths](/en/getting-started/runtime-paths) for database, plugin, and dependency locations.
* Use [autClaw Docker operations](/en/operations/docker) to view logs, update images, or recreate the container.
* When you need an application upgrade, follow [How to upgrade autClaw](/en/getting-started/upgrade).
