From 4098af51bcd3ef2c7adb6b414e8d1f03aa681355 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Thu, 25 Sep 2014 22:09:04 +0800 Subject: [PATCH] Update link to file directly --- README.md | 2 +- repository/local_repo.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 93ef193..a8b2b04 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ v0.2.5 本书既适用于具备基础Linux知识的Docker初学者,也可供希望理解原理和实现的高级用户参考。同时,书中给出的实践案例,可供在进行实际部署时借鉴。 -本书源于[WaitFish](github.com/qcpm1983)的《[Docker学习手册v1.0](https://github.com/yeasy/docker_practice/blob/master/_local/docker_manual_waitfish.pdf)》内容。后来,[yeasy](github.com/yeasy) +本书源于[WaitFish](github.com/qcpm1983)的《[Docker学习手册v1.0](https://github.com/yeasy/docker_practice/raw/master/_local/docker_manual_waitfish.pdf)》内容。后来,[yeasy](github.com/yeasy) 根据最新Docker版本对内容进行了修订和重写,并增加了部分内容;与WaitFish协商,将所有内容开源,采用互联网合作的方式进行创作和维护。 在线阅读:[https://www.gitbook.io/book/yeasy/docker_practice](https://www.gitbook.io/book/yeasy/docker_practice)。 diff --git a/repository/local_repo.md b/repository/local_repo.md index 4878026..2d02723 100644 --- a/repository/local_repo.md +++ b/repository/local_repo.md @@ -126,8 +126,9 @@ REPOSITORY TAG IMAGE ID CREAT 192.168.7.26:5000/test latest ba5877dc9bec 6 weeks ago 192.7 MB ``` -可以使用[这个脚本](https://github.com/yeasy/docker_practice/blob/master/_local/push_images.sh)批量上传本地的镜像到注册服务器中,默认是本地注册服务器`127.0.0.1:5000`。例如: +可以使用[这个脚本](https://github.com/yeasy/docker_practice/raw/master/_local/push_images.sh)批量上传本地的镜像到注册服务器中,默认是本地注册服务器`127.0.0.1:5000`。例如: ``` +$ wget https://github.com/yeasy/docker_practice/raw/master/_local/push_images.sh; sudo chmod a+x push_images.sh $ ./push_images.sh ubuntu:latest centos:centos7 The registry server is 127.0.0.1 Uploading ubuntu:latest...