Docker使用系列一:CentOS 6.5 使用aliyun镜像脚本
当我们把CentOS 6.5安装好以后,可以使用这个脚本来使用国内的阿里云镜像源
#!/bin/bash mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo yum makecache
搜索docker,可以看到docker-io.x86_64和docker-registry.noarch,安装docker就简单了。
[root@localhost ~]# yum search docker
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
======================================================== N/S Matched: docker =========================================================
python-docker-py.x86_64 : An API client for docker written in Python
docker-io.x86_64 : Automates deployment of containerized applications
docker-registry.noarch : Registry server for Docker
fedora-dockerfiles.noarch : Example dockerfiles to assist standing up containers quickly
imagefactory-plugins-Docker.noarch : Cloud plugin for Docker
docker.x86_64 : KDE and GNOME2 system tray replacement docking application
Name and summary matches only, use "search all" for everything.
转载于:https://my.oschina.net/feedao/blog/223497
- 点赞
- 收藏
- 分享
- 文章举报
- Docker使用系列四:CentOS 6.5 制作自动授信Docker容器镜像
- Docker使用系列六:CentOS 6.5 制作Docker DNS服务镜像
- 【系列2】使用Dockerfile创建带Apache服务的Centos Docker镜像
- Docker系列(四)Centos6.5 搭建私人镜像仓库 v2
- 【系列4】使用Dockerfile创建带tomcat的Centos Docker镜像
- 【系列6】使用Dockerfile创建带LAMP的Centos Docker镜像
- Centos6.5下使用docker创建centos6.5镜像文件,运行sshd+httpd
- 【系列3】使用Dockerfile创建yum安装nginx服务的Centos Docker镜像
- 【系列8】使用Dockerfile创建带MongoDB的Centos Docker镜像
- 【系列5】使用Dockerfile创建带weblogic的Centos Docker镜像
- Docker使用系列三:CentOS 6.5 快速体验Ubuntu 14.04 可以ssh 登陆
- (转载)CentOS 6.5使用aliyun镜像来源
- 【系列1】使用Dockerfile创建带sshd服务的Centos Docker镜像
- 【系列3】使用Dockerfile创建带编译安装nginx服务的Centos Docker镜像
- 【系列6】使用Dockerfile创建带mysql5.6的Centos Docker镜像
- 【系列7】使用Dockerfile创建带mysql的Centos Docker镜像
- 在centos7中使用supermin制作centos6.5docker镜像
- CentOS6.5使用 Docker 搭建 Java Web 运行环境
- Docker安装初试&&制作centos6.5基础镜像
- CentOS6.5环境下使用镜像文件搭建本地yum源