
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
</a> <br>ArangoDB-SGX</td>
shdocker pull enclaive/arangodb-sgx docker-compose up -d
Warning: This quick setup is only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options in the build section for a more secure deployment.
ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
https://www.arangodb.com
Intel Security Guard Extension (SGX) delivers advanced hardware and RAM security encryption features, so called ***s, in order to isolate code and data that are specific to each application. When data and application code run in an *** additional security, privacy and trust guarantees are given, making the container an ideal choice for (untrusted) cloud environments.
https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/overview.html
Application code executing within an Intel SGX ***:
Following benefits come for free with ArangoDB-SGX :
The following cloud infrastractures are SGX-ready out of the box
Confidential compute is a fast growing space. Cloud providers continiously add confidential compute capabilities to their portfolio. Please contact us if the infrastracture provider of your preferred choice is missing.
Check for Intel Security Guard Extension (SGX) presence by running the following
grep sgx /proc/cpuinfo
Alternatively have a thorough look at Intel's https://www.intel.com/content/www/us/en/support/articles/000028173/processors.html. (We remark that macbooks with CPUs transitioned to Intel are unlikely supported. If you find a configuration, please contact us know.)
Note that in addition to SGX the hardware module must support FSGSBASE. FSGSBASE is an architecture extension that allows applications to directly write to the FS and GS segment registers. This allows fast switching to different threads in user applications, as well as providing an additional address register for application use. If your kernel version is 5.9 or higher, then the FSGSBASE feature is already supported and you can skip this step.
There are several options to proceed
If: No SGX-ready hardware
Azure Confidential Compute cloud offers VMs with SGX support. Prices are fair and have been recently reduced to support the developer community. First-time users get $200 USD free credit. Other cloud provider like OVH or https://www.alibabacloud.com/blog/alibaba-cloud-released-industrys-first-trusted-and-virtualized-instance-with-support-for-sgx-2-0-and-tpm_596821 cloud have similar offerings.
Elif: Virtualization
Ubuntu 21.04 (Kernel 5.11) provides the driver off-the-shelf. Read the https://ubuntu.com/blog/whats-new-in-security-for-ubuntu-21-04. Go to https://ubuntu.com/download/desktop page.
Elif: Kernel 5.9 or higher
Install the DCAP drivers from the Intel SGX https://github.com/intel/linux-sgx-driver
shsudo apt update sudo apt -y install dkms wget https://download.01.org/intel-sgx/sgx-linux/2.13.3/linux/distro/ubuntu20.04-server/sgx_linux_x64_driver_1.41.bin -O sgx_linux_x64_driver.bin chmod +x sgx_linux_x64_driver.bin sudo ./sgx_linux_x64_driver.bin sudo apt -y install clang-10 libssl-dev gdb libsgx-enclave-common libsgx-quote-ex libprotobuf17 libsgx-dcap-ql libsgx-dcap-ql-dev az-dcap-client open-enclave
Else: Kernel older than version 5.9
Upgrade to Kernel 5.11 or higher. Follow the instructions here.
Install the docker engine
shsudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io sudo usermod -aG docker $USER # manage docker as non-root user (obsolete as of docker 19.3)
Use docker run hello-world to check if you can run docker (without sudo).
The recommended way to get the enclaive ArangoDB-SGX Docker Image is to pull the prebuilt image from the https://hub.docker.com/r/enclaive/arangodb-sgx.
consoledocker pull enclaive/arangodb-sgx:latest
To use a specific version, you can pull a versioned tag. You can view the https://hub.docker.com/r/enclaive/arangodb-sgx/tags/ in the Docker Hub Registry.
consoledocker pull enclaive/arangodb-sgx:[TAG]
Use arangosh to connect to hostname:8529 or use the web interface on the same address. No authentication is required as this a demo setup. Login as root with an e***y password on the web interface.
If you wish, you can also build the image yourself.
consoledocker build -t enclaive/arangodb-sgx:latest 'https://github.com/enclaive/enclaive-docker-arangodb-sgx.git#master'
splice and utimensat are disabled during compilationContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Don't forget to give the project a star! Spread the word on social media! Thanks again!
Distributed under the Apache License 2.0 License. See LICENSE for more information.
enclaive.io - @enclaive_io - *** - [***]
This project greatly celebrates all contributions from the gramine team. Special shout out to https://github.com/dimakuv from Intel for his support.
This software listing is packaged by enclaive.io. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务