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

# dokrypt restart

> Restart services (individual or entire stack).

## Usage

```bash theme={null}
dokrypt restart [flags]
```

## Flags

| Flag        | Type     | Default | Description                     |
| ----------- | -------- | ------- | ------------------------------- |
| `--service` | `string` | —       | Restart a specific service only |

## Description

Restarts running containers. If `--service` is specified, restarts only that service. Otherwise, restarts all services in the current project.

## Examples

### Restart all services

```bash theme={null}
dokrypt restart
```

### Restart a specific service

```bash theme={null}
dokrypt restart --service ethereum
```

## Errors

| Error               | Cause                               | Solution                                  |
| ------------------- | ----------------------------------- | ----------------------------------------- |
| `No running stack`  | No services are running             | Run `dokrypt up` first                    |
| `Service not found` | The specified service doesn't exist | Check service names with `dokrypt status` |
