标签:docker
创建本地yum源用于放docker rpm包安装
[root@16:14:56 桌面]$ yum install docker-engine
docker-engine-selinux.noarch docker-engine.x86_64
[root@16:14:56 桌面]$ yum install docker-engine*
启动
[root@17:17:04 桌面]$ systemctl start docker.service
[root@17:17:59 桌面]$ systemctl enable docker.service
[root@17:18:06 桌面]$ yum search lrzsz
[root@17:20:26 桌面]$ docker search contos
搜索
531 yum search lrzsz
532 docker search contos
533 docker search httpd
534 docker search mysql
535 docker search nginx
下载
docker help pull
docker pull rhel7
上传
docker help push
docker push rhel7
538 docker search busybox
539 docker images
540 docker pull busybox
541 docker images
543 docker version 查看版本
544 docker search 搜索
545 docker images 查看镜像
546 docker pull 下载
547 docker push 上传
548* docker
549 docker images
550 docker save busybox:latest
551 docker save busybox:latest > busybox.tar 保存镜像
552 ls
557 docker rmi busybox:latest 删除镜像
558 docker images
561 docker load <busybox.tar 导入镜像
562 docker images
标签:docker
原文地址:http://blog.51cto.com/creatoryuan/2082653