Docker入门笔记

Docker系统有两个程序:docker服务端和docker客户端。其中docker服务端是一个服务进程,管理着所有的容器。docker客户端则扮演着docker服务端的远程控制器,可以用来控制docker的服务端进程。大部分情况下,docker服务端和客户端运行在一台机器上。

Install

Docker官网:>传送门

安装完检查一下,查看版本号:

$ docker version

Docker

Docker官方有一个镜像中心,上面有许多开源镜像。DockerHub:>传送门

搜索镜像:

$ docker search _name_ (镜像名字)

下载镜像:

$ docker pull _xxx/name_ (根据搜索给出的完整镜像名)

运行镜像:

$ docker run _xxx/name_ [something]

保存镜像:

$ docker ps -l (获取镜像新_ID)
$ docker commit _ID _xxx/new_name_ (会返回保存后新镜像的_ID)

运行列表:

$ docker ps (查看所有正在运行中的容器列表)

详细查看:

$ docker inspect _ID

更多:

$ docker

标签: none

添加新评论

已有 8 条评论

  1. Quick Loan Quick Loan

    money lender payday loans direct lender lender loan lenders

  2. Online Payday Loan Online Payday Loan

    where can i get a loan with bad credit lender lender lender

  3. Online Payday Loan Online Payday Loan

    payday loans direct lender get a loan payday loans direct lender payday lender

  4. Online Loan Online Loan

    money lender bad credit catalogues next day loans all payday lenders

  5. Getting A Loan Getting A Loan

    lender cash quick lender unsecured loan

  6. Payday Payday

    loan lenders loan nguyen free loans money lender

  7. Payday Loans Online Payday Loans Online

    lender christmas loan money lender loan lenders

  8. Loan Loan

    direct lender installment loans payday lender payday loans direct lender borrow money with bad credit