tutum/hello-world Docker Image
tutum查看中文加速指南
自动构建
用于测试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 [*]
更多相关 Docker 镜像与资源
以下是 tutum/hello-world 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 hello-world 镜像标签
docker pull docker.xuanyuan.run/tutum/hello-world:<标签>
DockerHub 原生拉取命令
docker pull tutum/hello-world:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务