轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
hello_world

pczchen/hello_world

pczchen
自动构建

k8sadm

下载次数: 0状态:自动构建维护者:pczchen仓库类型:镜像最近更新:7 年前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
轩辕镜像,加速的不只是镜像。
点击查看

======= OpenShift Application Platform

https://goreportcard.com/badge/github.com/openshift/origin](https://goreportcard.com/report/github.com/openshift/origin) https://godoc.org/github.com/openshift/origin?status.png](https://godoc.org/github.com/openshift/origin) https://travis-ci.org/openshift/origin.svg?branch=master](https://travis-ci.org/openshift/origin) ![Jenkins]([] https://img.shields.io/badge/irc-freenode%3A%20%23openshift--dev-blue.svg]([] https://img.shields.io/github/license/openshift/origin.svg?maxAge=2592000](https://www.apache.org/licenses/LICENSE-2.0)

OpenShift Origin is a distribution of https://kubernetes.io optimized for continuous application development and multi-tenant deployment. Origin adds developer and operations-centric tools on top of Kubernetes to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams.

Features:

  • Easily build applications with integrated service discovery and persistent storage.
  • Quickly and easily scale applications to handle periods of increased demand.
    • Support for automatic high availability, load balancing, health checking, and failover.
  • Push source code to your Git repository and automatically deploy containerized applications.
  • Web console and command-line client for building and monitoring applications.
  • Centralized administration and management of an entire stack, team, or organization.
    • Create reusable templates for components of your system, and iteratively deploy them over time.
    • Roll out modifications to software stacks to your entire organization in a controlled fashion.
    • Integration with your existing authentication mechanisms, including LDAP, Active Directory, and public OAuth providers such as GitHub.
  • Multi-tenancy support, including team and user isolation of containers, builds, and network communication.
    • Allow developers to run containers securely with fine-grained controls in production.
    • Limit, track, and manage the developers and teams on the platform.
  • Integrated Docker registry, automatic edge load balancing, cluster logging, and integrated metrics.

Learn More:

  • https://docs.openshift.org/latest/welcome/
    • https://docs.openshift.org/latest/rest_api/openshift_v1.html
  • https://docs.google.com/presentation/d/1Isp5UeQZTo3gh6e59FMYmMs_V9QIQeBelmbyHIJ1H_g/pub?start=false&loop=false&delayms=3000
  • https://github.com/openshift/openshift-pep/blob/master/openshift-pep-013-openshift-3.md design document
  • The Trello Roadmap covers the epics and stories being worked on (click through to individual items)

For questions or feedback, reach us on IRC on #openshift-dev on Freenode or post to our mailing list.

Getting Started

Installation

If you have downloaded the client tools, place the included binaries in your PATH.

  • For a quick install of Origin, see the https://docs.openshift.org/latest/getting_started/administrators.html.
  • For an advanced installation using https://github.com/openshift/openshift-ansible, follow the https://docs.openshift.org/latest/install_config/install/advanced_install.html
  • To build and run from source, see CONTRIBUTING.adoc

Concepts

We highly recommend trying out the https://github.com/openshift/origin/blob/master/examples/sample-app/README.md which covers the core concepts in Origin. The walkthrough is accompanied by a blog series on blog.openshift.com that goes into more detail. It's a great place to start.

Origin API

The Origin API is located on each server at https://<host>:8443/oapi/v1. These APIs are described via https://www.swagger.io at https://<host>:8443/swaggerapi/oapi/v1. For more, https://docs.openshift.org/latest/rest_api/openshift_v1.html.

Kubernetes

If you're looking for more information about using Kubernetes or the lower level concepts that Origin depends on, see the following:

  • https://github.com/kubernetes/kubernetes/blob/master/README.md
  • https://github.com/kubernetes/kubernetes/blob/master/docs/README.md
  • https://docs.openshift.org/latest/rest_api/kubernetes_v1.html

Troubleshooting

If you run into difficulties running Origin, start by reading through the https://github.com/openshift/origin/blob/master/docs/debugging-openshift.md.

FAQ

  1. How does Origin relate to Kubernetes?

    Origin is a distribution of Kubernetes optimized for enterprise application development and deployment, used by OpenShift 3 and Atomic Enterprise. Origin embeds Kubernetes and adds additional functionality to offer a simple, powerful, and easy-to-approach developer and operator experience for building applications in containers. Our goal is to do most of that work upstream, with integration and final packaging occurring in Origin.

    You can run the core Kubernetes server components with openshift start kubernetes, use kubectl via openshift kube, and the Origin release zips include versions of kubectl, kubelet, kube-apiserver, and other core components. You can see the version of Kubernetes included with Origin via openshift version.

  2. How does Atomic Enterprise relate to Origin and OpenShift?

    Two products are built from Origin, Atomic Enterprise and OpenShift. Atomic Enterprise adds operational centric tools to enable easy deployment and scaling and long-term lifecycle maintenance for small and large teams and applications. OpenShift provides a number of developer-focused tools on top of Atomic Enterprise such as image building, management, and enhanced deployment flows.

  3. What can I run on Origin?

    Origin is designed to run any existing Docker images. Additionally, you can define builds that will produce new Docker images using a Dockerfile.

    However, the real magic of Origin is https://github.com/openshift/source-to-image builds, which allow developers to simply provide an application source repository containing code to build and run. It works by combining an existing S2I-enabled Docker image with application source to produce a new runnable image for your application.

    We are continuing to grow the https://docs.openshift.org/latest/using_images/s2i_images/overview.html and it's straightforward to create your own. Some of our available images include:

    • https://github.com/sclorg/s2i-ruby-container
    • https://github.com/sclorg/s2i-python-container
    • https://github.com/sclorg/s2i-nodejs-container
    • https://github.com/sclorg/s2i-php-container
    • https://github.com/sclorg/s2i-perl-container
    • https://github.com/openshift-s2i/s2i-wildfly

    Your application image can be easily extended with a database service with our https://docs.openshift.org/latest/using_images/db_images/overview.html:

    • https://github.com/sclorg/mysql-container
    • https://github.com/sclorg/mongodb-container
    • https://github.com/sclorg/postgresql-container
  4. Why doesn't my Docker image run on OpenShift?

    Security! Origin runs with the following security policy by default:

    • Containers run as a non-root unique user that is separate from other system users
      • They cannot access host resources, run privileged, or become root
      • They are given CPU and memory limits defined by the system administrator
      • Any persistent storage they access will be under a unique SELinux label, which prevents others from seeing their content
      • These settings are per project, so containers in different projects cannot see each other by default
    • Regular users can run Docker, source, and custom builds
      • By default, Docker builds can (and often do) run as root. You can control who can create Docker builds through the builds/docker and builds/custom policy resource.
    • Regular users and project admins cannot change their security quotas.

    Many Docker containers expect to run as root (and therefore edit all the contents of the filesystem). The https://docs.openshift.org/latest/creating_images/guidelines.html#openshift-specific-guidelines gives recommendations on making your image more secure by default:

    • Don't run as root
    • Make directories you want to write to group-writable and owned by group id 0
    • Set the net-bind capability on your executables if they need to bind to ports <1024

    Otherwise, you can see the https://docs.openshift.org/latest/admin_guide/manage_scc.html for descriptions on how to relax these restrictions.

  5. How do I get networking working?

    The Origin and Kubernetes network model assigns each pod (group of containers) an IP that is expected to be reachable from all nodes in the cluster. The default setup is through a simple SDN plugin with OVS - this plugin expects the port 4679 to be open between nodes in the cluster. Also, the Origin master processes need to be able to reach pods via the network, so they may require the SDN plugin.

    Other networking options are available such as Calico, Flannel, Nuage, and Weave. For a non-overlay networking solution, existing networks can be used by assigning a different subnet to each host, and ensuring routing rules deliver packets bound for that subnet to the host it belongs to. This is called https://docs.openshift.org/latest/admin_guide/native_container_routing.html.

  6. Why can't I run Origin in a Docker image on boot2docker or Ubuntu?

    Versions of Docker distributed by the Docker team don't allow containers to mount volumes on the host and write to them (mount propagation is private). Kubernetes manages volumes and uses them to expose secrets into containers, which Origin uses to give containers the tokens they need to access the API and run deployments and builds. Until mount propagation is configurable in Docker you must use Docker on Fedora, CentOS, or RHEL (which have a patch to allow mount propagation) or run Origin outside of a container. Tracked in https://github.com/openshift/origin/issues/3072.

Alpha and Unsupported Kubernetes Features

Some features from upstream Kubernetes are not yet enabled in Origin, for reasons including supportability, security, or limitations in the upstream feature.

Kubernetes Definitions:

  • Alpha
    • The feature is available, but no guarantees are made about backwards compatibility or whether data is preserved when feature moves to Beta.
    • The feature may have significant bugs and is suitable for testing and prototyping.
    • The feature may be replaced or significantly redesigned in the future.
    • No migration to Beta is generally provided other than documentation of the change.
  • Beta
    • The feature is available and generally agreed to solve the desired solution, but may need stabilization or additional feedback.
    • The feature is potentially suitable for limited production use under constrained circumstances.
    • The feature is unlikely to be replaced or removed, although it is still possible for feature changes that require migration.

OpenShift uses these terms in the same fashion as Kubernetes, and adds four more:

  • Not Yet Secure
    • Features which are not yet enabled because they have significant security or stability risks to the cluster
    • Generally this applies to features which may allow escalation or denial-of-service behavior on the platform
    • In some cases this is applied to new features which have not had time for full security review
  • Potentially Insecure
    • Features that require additional work to be properly secured in a multi-user environment
    • These features are only enabled for cluster admins by default and we do not recommend enabling them for untrusted users
    • We generally try to identify and fix these within 1 release of their availability
  • Tech Preview
    • Features that are ***ed unsupported for various reasons are known as 'tech preview' in our documentation
    • Kubernetes Alpha and Beta features are ***ed tech preview, although occasionally some features will be graduated early
    • Any tech preview feature is not supported in OpenShift Container Platform except through exemption
  • Disabled Pending Migration
    • These are features that are new in Kubernetes but which originated in OpenShift, and thus need migrations for existing users
    • We generally try to minimize the impact of features introduced upstream to Kubernetes on OpenShift users by providing seamless migration for existing clusters.
    • Generally these are addressed within 1 Kubernetes release

The list of features that qualify under these labels is described below, along with additional context for why.

FeatureKubernetesOpenShiftJustification
Third Party ResourcesAlpha (1.3)Not Yet Secure (1.2, 1.3)Third party resources are still under active development upstream.
Known issues include failure to clean up resources in etcd, which may result in a denial of service *** against the cluster.
We are ***ing enabling them for development environments only.
Garbage CollectionAlpha (1.3)Not Yet Secure (1.3)Garbage collection will automatically delete related resources on the server, and thus given the potential for data loss we are waiting for GC to graduate to beta and have a full release cycle of testing before enabling it in Origin.
At the current time, it is possible for a malicious user to trick another user into deleting a sensitive resource (like a quota or limit resource) during deletion, which must be addressed prior to enablement.
Pet SetsAlpha (1.3)Tech Preview (1.3)Pet Sets are still being actively developed and no backwards compatibility is guaranteed. Also, Pet Sets allow users to create PVCs indirectly, and more security controls are needed to limit the potential impact on the cluster.
Init ContainersAlpha (1.3)Tech Preview (1.3)Init containers are properly secured, but are not officially part of the Kubernetes API and may change without notice.
Federated ClustersBeta (1.3)Tech Preview (1.3)A Kubernetes federation server may be used against Origin clusters with the appropriate credentials today.
Known issues include tenant support in federation and the ability to have consistent access control between federation and normal clusters.
No Origin specific binary is being distributed for federation at this time.
DeploymentAlpha (1.2)
Beta (1.3)
Disabled Pending Migration (1.2)
Tech Preview (1.3)
OpenShift launched with DeploymentConfigs, a more fully featured Deployment object. We plan to enable upstream Deployments with automatic migrations to Deployment Configs so that existing clusters continue to function as normal without a migration, and so that existing client tools automatically display Deployments.
Deployment Configs are a superset of Deployment features.
Replica SetsBeta (1.2)
Beta (1.3)
Disabled Pending Migration (1.2)
Tech Preview (1.3)
Replica Sets perform the same function as Replication Controllers, but have a more powerful label syntax. We are working upstream to enable a migration path forward for clusters with existing Replication Controllers deployed to be automatically migratable to Replica Sets, in order to ease the transition for clients and tooling that depend on RCs.
IngressAlpha (1.1)
Beta (1.2, 1.3)
Disabled Pending Migration (1.2, 1.3)OpenShift launched with Routes, a more full featured Ingress object. We plan to enable upstream Ingresses with automatic migrations to Routes so that existing clusters continue to function as normal without a migration, and so that existing client tools automatically display Ingresses.
Upstream ingress controllers are not supported, since the integrated router is production supported with a superset of Ingress functionality.
PodSecurityPolicyAlpha (1.2)
Beta (1.3)
Disabled Pending Migration (1.3)
Not Yet Secure (1.3)
OpenShift launched with SecurityContextConstraints, and then upstreamed them as PodSecurityPolicy. We plan to enable upstream PodSecurityPolicy so as to automatically migrate existing SecurityContextConstraints. PodSecurityPolicy has not yet completed a full security review, which will be part of the criteria for tech preview.
SecurityContextConstraints are a superset of PodSecurityPolicy features.
PodAntiAffinitySelectorsAlpha (1.3)Not Yet Secure (1.3)
Tech Preview (1.4?)
End users are not allowed to set PodAntiAffinitySelectors that are not the node name due to the possibility of ***ing the scheduler via denial of service.
NetworkPolicyBeta (1.3)Tech Preview (1.3)OpenShift's default network plugins (redhat/openshift-ovs-subnet and redhat/openshift-ovs-multitenant) do not support NetworkPolicy yet, but if you use a third-party network plugin, it might.

Please contact us if this list omits a feature supported in Kubernetes which does not run in Origin.

Contributing

You can develop locally on your host or with a virtual machine, or if you want to just try out Origin download the latest Linux server, or Windows and Mac OS X client pre-built binaries.

First, get up and running with the Contributing Guide.

All contributions are welcome - Origin uses the Apache 2 license and does not require any contributor agreement to submit patches. Please open issues for any bugs or problems you encounter, ask questions on the OpenShift IRC channel (#openshift-dev on freenode), or get involved in the https://github.com/kubernetes/kubernetes at the container runtime layer.

See https://github.com/openshift/origin/blob/master/HACKING.md for more details on developing on Origin including how different tests are setup.

If you want to run the test suite, make sure you have your environment set up, and from the origin directory run:

# run the verifiers, unit tests, and command tests
$ make check

# run a command-line integration test suite
$ hack/test-cmd.sh

# run the integration server test suite
$ hack/test-integration.sh

# run the end-to-end test suite
$ hack/test-end-to-end.sh

# run all of the tests above
$ make test

You'll need https://github.com/coreos/etcd installed and on your path for the integration and end-to-end tests to run, and Docker must be installed to run the end-to-end tests. To install etcd you should be able to run:

$ hack/install-etcd.sh

Some of the components of Origin run as Docker images, including the builders and deployment tools in images/builder/docker/* and 'images/deploy/*`. To build them locally run

$ hack/build-images.sh

To hack on the web console, check out the assets/README.md file for instructions on testing the console and building your changes.

License

Origin is licensed under the http://www.apache.org/licenses/.

977c9b02b10c00b***f8608d57b26e3df2b0

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 hello_world 镜像标签

docker pull docker.xuanyuan.run/pczchen/hello_world:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull pczchen/hello_world:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

爱快 4.0 · iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

专属域名用法

专属域名 · 开启停用 · 多仓库

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
pczchen/hello_world
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 hello_world 镜像推荐

flyingsmurf/hello_world logo

flyingsmurf/hello_world

flyingsmurf
暂无描述
10万+ 次下载
5 年前更新

查看更多 hello_world 相关镜像