国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專(zhuān)欄INFORMATION COLUMN

【windows docker & centos 6 .7搭建】

CarterLi / 1526人閱讀

摘要:一時(shí)興起,搭建下的。下載了下運(yùn)行,修改了里面的環(huán)境變量。如果配置了就不需要手動(dòng)修改了下載鏡像里面運(yùn)行,進(jìn)入,報(bào)錯(cuò),需要在命令前面加,即即進(jìn)入。查看版本,已經(jīng)在安裝完畢。

一時(shí)興起,搭建windows 下的docker。
1、下載了dockertoolsbox
2、Gitbash 下運(yùn)行,修改了start.sh里面的環(huán)境變量。(如果配置了就不需要手動(dòng)修改了)
3、下載鏡像 https://c.163.com/hub#/m/home/
4、gitbash 里面運(yùn)行,docker images

$ docker images
time="2017-03-16T13:49:07+08:00" level=info msg="Unable to use system certificate pool: crypto/x509: system root pool is not available on Windows"
REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE
hub.c.163.com/public/centos   6.7-tools           b2ab0ed558bb        3 weeks ago         602 MB
hub.c.163.com/public/centos   latest              997f0ed97903        12 months ago       442 MB
hub.c.163.com/public/ubuntu   16.04               70b70c987e8f        13 months ago       224 MB

5、進(jìn)入centos 6.7-tools,
$ docker run -i -t hub.c.163.com/public/centos:6.7-tools bash

time="2017-03-16T13:50:41+08:00" level=info msg="Unable to use system certificate pool: crypto/x509: system root pool is not available on Windows"
the input device is not a TTY.  If you are using mintty, try prefixing the command with "winpty"

報(bào)錯(cuò),需要在命令前面加 winpty ,即: winpty docker run -i -t hub.c.163.com/public/centos:6.7-tools bash
(http://willi.am/blog/2016/08/...)
6、winpty docker run -i -t hub.c.163.com/public/centos:6.7-tools bash

即進(jìn)入centos。

查看linux 版本:
---1-- [root@9074c4ac74e0 /]# cat /proc/version
Linux version 4.4.52-boot2docker (root@ed11f485244a) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Mar 1 23:41:46 UTC 2017
---2-- [root@07412bb23ffffd /]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:g
raphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
---3-- [root@9074c4ac74e0 /]# cat /etc/issue
CentOS release 6.7 (Final)
Kernel r on an m

so,centos已經(jīng)在docker安裝完畢。

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://m.specialneedsforspecialkids.com/yun/26730.html

相關(guān)文章

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<