hello-world

tutum/hello-world Docker Image

自动构建

用于测试Docker部署的示例镜像,包含Apache服务器并提供"Hello World"页面,监听80端口。

91 次收藏下载次数: 0状态:自动构建维护者:tutum仓库类型:镜像最近更新:10 年前
下载命令
点击查看

docker-hello-world

Sample docker image to test docker deployments

Usage

To create the image tutum/hello-world, execute the following command on the docker-hello-world folder:

docker build -t tutum/hello-world .

You can now push your new image to the registry:

sudo docker push tutum/hello-world

Running your Hello World docker image

Start your image:

sudo docker run -d -p 80 tutum/hello-world

It will print the new container ID (like d35bf1374e88). Get the allocated external port:

sudo docker port d35bf1374e88 80

It will print the allocated port (like 4751). Test your deployment:

curl http://localhost:4751/

Hello world!

by [*]

镜像拉取方式

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

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

docker pull docker.xuanyuan.run/tutum/hello-world:<标签>

DockerHub 原生拉取命令

docker pull tutum/hello-world:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告