docker centos install

[root@k8s-master ~]# docker search centos
NAME                                         DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
centos                                       The official build of CentOS.                   7283                [OK]                
kasmweb/centos-7-desktop                     CentOS 7 desktop for Kasm Workspaces            24                                      
continuumio/centos5_gcc5_base                                                                3                                       
couchbase/centos7-systemd                    centos7-systemd images with additional debug…   3                                       [OK]
dokken/centos-7                              CentOS 7 image for kitchen-dokken               3                                       
dokken/centos-stream-9                                                                       2                                       
dokken/centos-stream-8                                                                       2                                       
spack/centos7                                CentOS 7 with Spack preinstalled                1                                       
spack/centos6                                CentOS 6 with Spack preinstalled                1                                       
dokken/centos-8                              CentOS 8 image for kitchen-dokken               0                                       
dokken/centos-6                              CentOS 6 image for kitchen-dokken               0                                       
ustclug/centos                               Official CentOS Image with USTC Mirror          0                                       
bitnami/centos-extras-base                                                                   0                                       
datadog/centos-i386                                                                          0                                       
corpusops/centos-bare                        https://github.com/corpusops/docker-images/     0                                       
corpusops/centos                             centos corpusops baseimage                      0                                       
couchbase/centos-72-java-sdk                                                                 0                                       
couchbase/centos-72-jenkins-core                                                             0                                       
bitnami/centos-base-buildpack                Centos base compilation image                   0                                       [OK]
fnndsc/centos-python3                        Source for a slim Centos-based Python3 image…   0                                       [OK]
couchbase/centos-70-sdk-build                                                                0                                       
couchbase/centos-69-sdk-nodevtoolset-build                                                   0                                       
couchbase/centos-69-sdk-build                                                                0                                       
dokken/centos-5                              EOL DISTRO: For use with kitchen-dokken, Bas…   0                                       
spack/centos-stream                                                                          0                                       
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# docker pull centos
Using default tag: latest
latest: Pulling from library/centos
a1d0c7532777: Downloading [>                                                  ]  1.059MB/79.21MB
^[^Z
[1]+  Stopped                 docker pull centos
[root@k8s-master ~]# docker pull centos
Using default tag: latest
latest: Pulling from library/centos
a1d0c7532777: Downloading [==================================================>]  74.25MB/74.25MB
unexpected EOF
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# docker images
REPOSITORY                                                        TAG                 IMAGE ID            CREATED             SIZE
calico/kube-controllers                                           v3.23.3             32d39d8db456        4 weeks ago         127MB
calico/cni                                                        v3.23.3             ecf96bae0aa7        4 weeks ago         254MB
calico/node                                                       v3.23.3             5f5175f39b19        4 weeks ago         203MB
registry.aliyuncs.com/google_containers/kube-apiserver            v1.22.12            d922296a8b85        5 weeks ago         128MB
registry.aliyuncs.com/google_containers/kube-controller-manager   v1.22.12            f5ef4d6e36ee        5 weeks ago         122MB
registry.aliyuncs.com/google_containers/kube-proxy                v1.22.12            761817698b62        5 weeks ago         104MB
registry.aliyuncs.com/google_containers/kube-scheduler            v1.22.12            5ee90014579c        5 weeks ago         52.7MB
registry.aliyuncs.com/google_containers/etcd                      3.5.0-0             004811815584        14 months ago       295MB
registry.aliyuncs.com/google_containers/coredns                   v1.8.4              8d147537fb7d        14 months ago       47.6MB
registry.aliyuncs.com/google_containers/pause                     3.5                 ed210e3e4a5b        17 months ago       683kB
ghcr.io/weaveworks/launcher/weave-npc                             2.8.1               7f92d556d4ff        18 months ago       39.3MB
ghcr.io/weaveworks/launcher/weave-kube                            2.8.1               df29c0a4002c        18 months ago       89MB
eipwork/kuboard                                                   latest              a1a5060fe43d        19 months ago       183MB
portainer/portainer                                               latest              980323c8eb3f        19 months ago       196MB
francescou/docker-compose-ui                                      latest              8974c444f0d1        4 years ago         129MB
abh1nav/dockerui                                                  latest              6e4d05915b2a        7 years ago         470MB
[root@k8s-master ~]# docker pull kasmweb/centos-7-desktop
Using default tag: latest
Error response from daemon: manifest for kasmweb/centos-7-desktop:latest not found
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# docker pull centos:7.9.2009
7.9.2009: Pulling from library/centos
2d473b07cdd5: Pull complete 
Digest: sha256:c73f515d06b0fa07bb18d8202035e739a494ce760aa73129f60f4bf2bd22b407
Status: Downloaded newer image for centos:7.9.2009
[root@k8s-master ~]# docker images
REPOSITORY                                                        TAG                 IMAGE ID            CREATED             SIZE
calico/kube-controllers                                           v3.23.3             32d39d8db456        4 weeks ago         127MB
calico/cni                                                        v3.23.3             ecf96bae0aa7        4 weeks ago         254MB
calico/node                                                       v3.23.3             5f5175f39b19        4 weeks ago         203MB
registry.aliyuncs.com/google_containers/kube-apiserver            v1.22.12            d922296a8b85        5 weeks ago         128MB
registry.aliyuncs.com/google_containers/kube-proxy                v1.22.12            761817698b62        5 weeks ago         104MB
registry.aliyuncs.com/google_containers/kube-controller-manager   v1.22.12            f5ef4d6e36ee        5 weeks ago         122MB
registry.aliyuncs.com/google_containers/kube-scheduler            v1.22.12            5ee90014579c        5 weeks ago         52.7MB
centos                                                            7.9.2009            eeb6ee3f44bd        11 months ago       204MB
registry.aliyuncs.com/google_containers/etcd                      3.5.0-0             004811815584        14 months ago       295MB
registry.aliyuncs.com/google_containers/coredns                   v1.8.4              8d147537fb7d        14 months ago       47.6MB
registry.aliyuncs.com/google_containers/pause                     3.5                 ed210e3e4a5b        17 months ago       683kB
ghcr.io/weaveworks/launcher/weave-npc                             2.8.1               7f92d556d4ff        18 months ago       39.3MB
ghcr.io/weaveworks/launcher/weave-kube                            2.8.1               df29c0a4002c        18 months ago       89MB
eipwork/kuboard                                                   latest              a1a5060fe43d        19 months ago       183MB
portainer/portainer                                               latest              980323c8eb3f        19 months ago       196MB
francescou/docker-compose-ui                                      latest              8974c444f0d1        4 years ago         129MB
abh1nav/dockerui                                                  latest              6e4d05915b2a        7 years ago         470MB
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# 
[root@k8s-master ~]# docker run -i -t --name centos-master --privileged=true -d centos:7.9.2009 /usr/sbin/init

[root@k8s-master ~]# docker run -i -t --name centos-master --net=bridge --privileged=true -d centos:7.9.2009 /bin/bash
e6498618f59342cf6aeb8c732bff30d1a7e6c56c3ad4ccdce55cc01fcd1b4a0b



[root@k8s-master ~]# docker exec -i -t centos-master /bin/bash
[root@358d95356d76 /]# 
[root@358d95356d76 /]# 
[root@358d95356d76 /]# ll
total 12
-rw-r--r--   1 root root 12114 Nov 13  2020 anaconda-post.log
lrwxrwxrwx   1 root root     7 Nov 13  2020 bin -> usr/bin
drwxr-xr-x  19 root root  3320 Aug 18 02:51 dev
drwxr-xr-x   1 root root    52 Aug 18 02:51 etc
drwxr-xr-x   2 root root     6 Apr 11  2018 home
lrwxrwxrwx   1 root root     7 Nov 13  2020 lib -> usr/lib
lrwxrwxrwx   1 root root     9 Nov 13  2020 lib64 -> usr/lib64
drwxr-xr-x   2 root root     6 Apr 11  2018 media
drwxr-xr-x   2 root root     6 Apr 11  2018 mnt
drwxr-xr-x   2 root root     6 Apr 11  2018 opt
dr-xr-xr-x 329 root root     0 Aug 18 02:50 proc
dr-xr-x---   2 root root   114 Nov 13  2020 root
drwxr-xr-x  14 root root   300 Aug 18 02:51 run
lrwxrwxrwx   1 root root     8 Nov 13  2020 sbin -> usr/sbin
drwxr-xr-x   2 root root     6 Apr 11  2018 srv
dr-xr-xr-x  13 root root     0 Aug 18 02:50 sys
drwxrwxrwt   7 root root   132 Nov 13  2020 tmp
drwxr-xr-x  13 root root   155 Nov 13  2020 usr
drwxr-xr-x   1 root root    44 Aug 18 02:51 var
[root@358d95356d76 /]# 
[root@358d95356d76 /]# 
[root@358d95356d76 /]# 



[root@k8s-master ~]# docker network create --subnet=172.18.0.0/16 network-docker




docker CentOS 7.9_WinkeyTseng_YongTai的博客-CSDN博客

docker centos install_WinkeyTseng_YongTai的博客-CSDN博客

docker network create_WinkeyTseng_YongTai的博客-CSDN博客

docker centos ip setting_WinkeyTseng_YongTai的博客-CSDN博客

docker centos host setting_WinkeyTseng_YongTai的博客-CSDN博客

docker centos date syn_WinkeyTseng_YongTai的博客-CSDN博客

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值