• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
导航菜单
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx
您的位置:首页 > 服务器 >云计算 > 用Hello World校验Docker的安装,hellodocker

用Hello World校验Docker的安装,hellodocker

作者:网友 字体:[增加 减小] 来源:互联网

本文主要包含docker hello world,docker hello,docker,docker是什么,docker教程等服务器相关知识,网友希望可以进行参考

用Hello World校验Docker的安装,hellodocker


用Hello World校验Docker的安装

作者:chszs,版权所有,未经同意,不得转载。博主主页:http://blog.csdn.net/chszs

用Docker运行Hello World镜像,命令如下:

# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from hello-world
535020c3e8ad: Pull complete 
af340544ed62: Pull complete 
Digest: sha256:a68868bfe696c00866942e8f5ca39e3e31b79c1e50feaee4ce5e28df2f051d5c
Status: Downloaded newer image for hello-world:latest

Hello from Docker.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com

For more examples and ideas, visit:
 https://docs.docker.com/userguide/

可见,Docker注册服务器从Docker Hub获取到最新的Hello World镜像,下载到了本地。可以再次运行Hello World镜像。

# docker run hello-world

Hello from Docker.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com

For more examples and ideas, visit:
 https://docs.docker.com/userguide/

可见,Hello World镜像运行成功,Docker的安装也没有问题。

版权声明:本文为博主chszs的原创文章,未经博主允许不得转载。

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 用Hello World校验Docker的安装,hellodocker

相关文章

  • 【Spark】Spark应用执行机制,spark执行机制
  • 【Spark】弹性分布式数据集RDD概述,sparkrdd概述
  • Spark Streaming和Flume集成指南V1.4.1,flumev1.4.1
  • 开源微内核seL4 microkernel,sel4microkernel
  • hadoop 多数据源连接之DataJoin,hadoopdatajoin
  • Spark的Master和Worker集群启动的源码分析,sparkworker
  • 上传到dfs和hadoop统计计算
  • Hive 合并输入输出文件,
  • 在Windows上使用Eclipse配置Hadoop MapReduce开发环境,hadoopmapreduce
  • HBase,hbase安装

文章分类

  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx

最近更新的内容

    • 浅谈大数据,浅谈数据
    • Hadoop集群性能优化一,Hadoop集群性能优化
    • 《转》OpenStack Live Migration,《转》openstack
    • 微软小冰、小娜不久相会在中国,微软相会在中国
    • Neutron数据库同步错误 NotImplementedError: No support for ALTER of constraints in SQLite dialect,sqlitealtertable
    • MapReduce之RecordReader组件源码解析及实例,mapreduce实例
    • myeclipse2013 建的web项目没有web.xml,myeclipse中web.xml
    • Deploy FAILURE:An app Was not successfully detected by any available buildpack,deploybuildpack
    • hadoop2.6.0伪分布式安装,hadoop2.6.0伪
    • request.getScheme()的使用方法,request.getscheme

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有