> ## Documentation Index
> Fetch the complete documentation index at: https://libops-renovate-github-com-libops-sitectl-0-x.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Valkey service commands

> Core sitectl Valkey operations and cache service inspection helpers.

export const Compose = () => <Tooltip headline="Compose" tip={<>
        Docker Compose is Docker's tool for defining and running multi-container applications.{" "}
        <a href="https://docs.docker.com/compose/">https://docs.docker.com/compose/</a>.
      </>}>
    <>
      <Icon icon="docker" />
      {" "}
      Compose
    </>
  </Tooltip>;

Valkey is a core `sitectl` service namespace. Operators use `sitectl valkey ...` from any context whose <Compose /> project has a Valkey service.

## Status

Check the Valkey container state:

```bash theme={null}
sitectl valkey status
```

## Ping

Ping Valkey from inside its container:

```bash theme={null}
sitectl valkey ping
```

The command uses `valkey-cli` when present and falls back to `redis-cli`.

Standalone Valkey Compose projects may still exist, but the shared command surface belongs to core `sitectl`, not to a dedicated Valkey CLI plugin.

## Reference

### `status`

Show the compose service container status

```bash theme={null}
sitectl valkey status
```

| Flag        | Default  | Description          |
| ----------- | -------- | -------------------- |
| `--service` | `valkey` | Compose service name |

### `ping`

Ping Valkey from inside its container

```bash theme={null}
sitectl valkey ping
```

| Flag        | Default  | Description          |
| ----------- | -------- | -------------------- |
| `--service` | `valkey` | Compose service name |
