
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://img.shields.io/nuget/v/GroupDocs.Annotation-Cloud](https://www.nuget.org/packages/GroupDocs.Annotation-Cloud/) !https://img.shields.io/nuget/dt/GroupDocs.Annotation-Cloud?label=nuget%20downloads !https://img.shields.io/github/license/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet
Product Page | Docs | Demos | Swagger UI | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet-samples | Blog | Search | Free Support | Free Trial
Document Annotation solution for programmers and professionals to annotate and display widely used file formats including Word documents, Excel spreadsheets, PowerPoint presentations, Adobe's PDF, images & more. This Docker image makes it possible to use GroupDocs.Annotation Cloud API on a single machine or integrate into your existing application or system solution.
GroupDocs.Annotation can be started in trial or licensed mode. Optionally, you can enable authentication by setting predefined credentials.
Type the following to start the container and run GroupDocs.Annotation Cloud in trial mode.
Windows (PowerShell)
powershelldocker run ` -p 8080:80 ` -v "${pwd}/data:/data" ` --name annotation_cloud ` groupdocs/annotation-cloud
Linux (bash)
bashdocker run \ -p 8080:80 \ -v $(pwd)/data:/data \ --name annotation_cloud \ groupdocs/annotation-cloud
Wait for the startup process to complete, then you should see the following log.
bashinfo: GroupDocs.Annotation.Cloud.Web.Startup[0] "License" parameters are omitted, the app works in trial mode. ...
Above messages suggest that GroupDocs.Annotation Cloud is working in a trial mode so trial limitations are applied:
Note: You can find more information about licensing and request a temporary license at <[**]>*
Run GroupDocs.Annotation Cloud in licensed mode if you already have the application information. Just pass license private and public keys as environment variables as shown below.
Windows (PowerShell)
powershelldocker run ` -p 8080:80 ` -v "${pwd}/data:/data" ` -e "LICENSE_PUBLIC_KEY=public_key" ` -e "LICENSE_PRIVATE_KEY=private_key" ` --name annotation_cloud ` groupdocs/annotation-cloud
Linux (bash)
bashdocker run \ -p 8080:80 \ -v $(pwd)/data:/data \ -e LICENSE_PUBLIC_KEY=public_key \ -e LICENSE_PRIVATE_KEY=private_key \ --name annotation_cloud \ groupdocs/annotation-cloud
After the container is started you should see the message that indicates that license has been set successfully:
bashinfo: GroupDocs.Annotation.Cloud.Web.Startup[0] The license has been set. ...
To enable authentication set CLIENT_ID/CLIENT_SECRET parameters as shown below. Please note, authentication is required in case you're going to use any of the https://github.com/groupdocs-annotation-cloud.
The TOKEN_SECRET is used as the symmetric key for signing JWT tokens with the HMAC-SHA256 algorithm. • If the TOKEN_SECRET environment variable is set, its value will be used as the signing key. • If the TOKEN_SECRET is not set, the application will generate a random 256-bit secret at runtime. This random secret is not persisted and will change every time the application restarts.
Windows (PowerShell)
powershelldocker run ` -p 8080:80 ` -v "${pwd}/data:/data" ` -e "CLIENT_ID=client_id" ` -e "CLIENT_SECRET=client_secret" ` -e "TOKEN_SECRET=aifvtf67769fydrdjh089y86f7cfnr6e5ev856db7ii8t787rtb6r689f07t897tk907tn8f6b68d987yh0u" ` --name annotation_cloud ` groupdocs/annotation-cloud
Linux (bash)
bashdocker run \ -p 8080:80 \ -v $(pwd)/data:/data \ -e CLIENT_ID=client_id \ -e CLIENT_SECRET=client_secret \ -e TOKEN_SECRET=aifvtf67769fydrdjh089y86f7cfnr6e5ev856db7ii8t787rtb6r689f07t897tk907tn8f6b68d987yh0u \ --name annotation_cloud \ groupdocs/annotation-cloud
By default, a local storage used inside container for file operations. It's possible to connect a Google Cloud storage by setting GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_STORAGE_BUCKET environment variables.
Windows (PowerShell)
powershelldocker run ` -p 8080:80 ` -v "${pwd}/data:/data" ` -e "GOOGLE_APPLICATION_CREDENTIALS=/data/key.json" ` -e "GOOGLE_STORAGE_BUCKET=bucket_id" ` --name annotation_cloud ` groupdocs/annotation-cloud
Linux (bash)
bashdocker run \ -p 8080:80 \ -v $(pwd)/data:/data \ -e GOOGLE_APPLICATION_CREDENTIALS=/data/key.json \ -e GOOGLE_STORAGE_BUCKET=bucket_id \ --name annotation_cloud \ groupdocs/annotation-cloud
By default, a local storage used inside container for file operations. It's possible to connect a AWS S3 Cloud storage by setting environment variables:
| Name | Description |
|---|---|
| S3_STORAGE_BUCKET | Bucket ID |
| S3_STORAGE_ACCESS_KEY | S3 API Access Key |
| S3_STORAGE_SECRET_KEY | S3 API Secret Key |
| S3_STORAGE_REGION | AWS S3 Region |
Windows (PowerShell)
powershelldocker run ` -p 8080:80 ` -v "${pwd}/data:/data" ` -e "S3_STORAGE_BUCKET=main_bucket" ` -e "S3_STORAGE_ACCESS_KEY=XXXXXXXXXXXXXXXXXXX" ` -e "S3_STORAGE_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ` -e "S3_STORAGE_REGION=us-west-2" ` --name annotation_cloud ` groupdocs/annotation-cloud
Linux (bash)
bashdocker run \ -p 8080:80 \ -v $(pwd)/data:/data \ -e S3_STORAGE_BUCKET=main_bucket \ -e S3_STORAGE_ACCESS_KEY=XXXXXXXXXXXXXXXXXXX \ -e S3_STORAGE_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \ -e S3_STORAGE_REGION=us-west-2" \ --name annotation_cloud \ groupdocs/annotation-cloud
When the container and GroupDocs.Annotation Cloud gets started you can check service status by calling GET http://localhost:8080/. The successful response status is 200 which means that service is up and running.
Windows (PowerShell)
powershellInvoke-WebRequest -Uri http://localhost:8080/
Linux (bash)
bashcurl -i http://localhost:8080/
After starting, you can use Swagger UI at http://localhost:8080/swagger/ and start exploring the API.
To stop the running Docker container, just use Ctrl+C in the same terminal where the container is running. Alternatively, you can stop the container by name as shown below.
bashdocker stop annotation_cloud
| Mount path in container | Description |
|---|---|
| /data | Folder with documents to process |
| Name | Description |
|---|---|
| LICENSE_PUBLIC_KEY | Public key of the license |
| LICENSE_PRIVATE_KEY | Private key of the license |
| CLIENT_ID | Predefined client ID (requied when using SDK) |
| CLIENT_SECRET | Predefined client secret key (requied when using SDK) |
| TOKEN_SECRET | The symmetric key for signing JWT tokens |
| GOOGLE_APPLICATION_CREDENTIALS | Path to json file containing Google Cloud Storage Credentials (can be obtained in Google Cloud Console) |
| GOOGLE_STORAGE_BUCKET | Name of Google Cloud Storage bucket, where files should be stored |
| S3_STORAGE_BUCKET | AWS S3 Bucket ID |
| S3_STORAGE_ACCESS_KEY | AWS S3 API Access Key |
| S3_STORAGE_SECRET_KEY | AWS S3 API Secret Key |
| S3_STORAGE_REGION | AWS S3 Region |
We generate our SDKs in different languages so you may check if yours is available in the following list. If you don't find your language, feel free to request for it on our Support Forum, or use raw REST API requests as detailed on GroupDocs.Annotation Cloud for cURL.
| .NET | Java | PHP | Python | Ruby | Node.js |
|---|---|---|---|---|---|
| https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node |
| https://www.nuget.org/packages/GroupDocs.Annotation-Cloud/ | Maven | https://packagist.org/packages/groupdocscloud/groupdocs-annotation-cloud | https://pypi.org/project/groupdocs-annotation-cloud/ | https://rubygems.org/gems/groupdocs_annotation_cloud | https://www.npmjs.com/package/groupdocs-annotation-cloud |
The SDKs are compatible with this image, just use your own base URL and client_id/client_secret, you've configured. Furthermore, the SDKs require authentication, so client_id/client_secret must be set before use.
Product Page | Docs | Demos | Swagger UI | https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet-samples | Blog | Search | Free Support | Free Trial if Google Storage parameters are set, then Google Cloud Storage used for file operations, otherwise, a local folder used
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务