docker初步

本文介绍了Docker容器技术的核心概念及使用方式,包括其仅能在64位系统上运行的特点,以及通过Docker Hub轻松获取镜像的方法。Docker支持守护进程模式、命令行接口和仓库客户端交互,方便用户管理和分享容器环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[Note,]由于docker的局限性,docker只能运行在64位的系统中

docker软件应用程序可以重复地运行在任何地方,因为它的容器包含了所有的环境依赖关系

docker有三种方式运行

  • 作为一个守护demo进程来管理你的linux主机上的LXC容器(sudo docker -d)

  • 作为一个命令行的方式来告诉docker进程的程序接口来做什么(docker run ...)

  • 作为一个仓库的客户端让你分享你搭建的环境(docker pull,docker commit)

built and shared in the Docker Hub Registry, a cloud-based collection of applications

Docker Engine consists of two parts: a daemon, a server process that manages all the containers, and a client, which acts as a remote control for the daemon

Docker Hub Registry, a cloud-based collection of application

can find them online at Docker Hub as well through the Docker Engine client command line

Container images can be downloaded easily using docker pull. For images in the Docker Hub Registry, the name you specify is constructed as <username>/<repository>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值