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

# nsc docker remote

Run docker on the target instance.

`docker remote` forwards Docker commands to a Namespace instance. All arguments after `remote` are passed directly to the Docker CLI on the remote instance.

## Usage

```bash theme={null}
nsc docker remote [instance-id] -- <docker-args...>
```

### Example

List containers running on the remote instance:

```bash theme={null}
nsc docker remote 85a32emcg99ii -- ps
```

```text nocopy Output theme={null}
CONTAINER ID   IMAGE          COMMAND   CREATED        STATUS       NAMES
abc12345def    myapp:latest   "run..."  3 minutes ago  Up 3 min     myapp
```

## Options

All flags are passed through to the Docker CLI on the remote instance.
