Docker —— 從入門到實(shí)踐
Docker 是個(gè)偉大的項(xiàng)目,它讓虛擬化變得前所未有的高效和輕松,徹底釋放了虛擬化的威力!
本書最初源于WaitFish的《Docker學(xué)習(xí)手冊v1.0》內(nèi)容。后來,yeasy 根據(jù)最新Docker版本對(duì)內(nèi)容進(jìn)行了修訂和重寫,并增加了部分內(nèi)容;與WaitFish協(xié)商,將所有內(nèi)容開源,采用互聯(lián)網(wǎng)合作的方式進(jìn)行創(chuàng)作和維護(hù)。
本書既適用于具備基礎(chǔ)Linux知識(shí)的Docker初學(xué)者,也可供希望理解原理和底層實(shí)現(xiàn)的高級(jí)用戶參考。同時(shí),本書中給出的實(shí)踐案例,可供在進(jìn)行實(shí)際部署時(shí)借鑒。
在線閱讀:https://www.gitbook.io/book/yeasy/docker_practice。
維護(hù)本書的Github項(xiàng)目: https://github.com/yeasy/docker_practice。 歡迎大家參與。
本書發(fā)布時(shí),Docker的最新版本為1.20。
參加步驟
在GitHub上fork到自己的倉庫,如docker_user/docker_practice,然后clone到本地,并設(shè)置用戶信息。
$ git clone [email protected]:docker_user/docker_practice.git $ cd docker_practice $ git config user.name "Docker User" $ git config user.email [email protected]
修改代碼后提交,并推送到自己的倉庫。
$ #do some change on the content $ git commit -am "Fix issue #1: change helo to hello" $ git push
在GitHub網(wǎng)站上提交pull request。
定期使用項(xiàng)目倉庫內(nèi)容更新自己倉庫內(nèi)容。
$ git remote add upstream github.com/yeasy/docker_practice $ git fetch upstream $ git checkout master $ git rebase upstream/master $ git push -f origin master
評(píng)論
圖片
表情
