# 未授权API

```
    当系统上安装 docker 时，它将在位于端口 2375 的本地主机上公开一个 API。该 API 可用于与 docker 引擎进行交互，这基本上使您有权在未经身份验证的情况下执行任何您想做的事情。向 /version 端点发出 GET 请求。 将打印出一个 json blob
    在 CLI 中，执行以下命令来获取当前正在运行的容器列表：
    $ docker -H host:port ps
    弹出一个 shell
    $ docker -H host:port exec -it container name /bin/bash
    https://github.com/Ullaakut/Gorsair
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.heresecurity.wiki/yun-an-quan/docker/wei-shou-quan-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
