docker操作记录-6

docker操作环境ubu-16.04

[BEGIN] 2019/12/5 10:21:32
Connecting to 192.168.114.130:22...
Connection established.
To escape to local shell, press Ctrl+Alt+].

Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-72-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

 * Overheard at KubeCon: "microk8s.status just blew my mind".

     https://microk8s.io/docs/commands#microk8s.status

3 个可升级软件包。
0 个安全更新。

New release '18.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Wed Dec  4 15:40:43 2019 from 192.168.114.1
root@coder:~# ls
root@coder:~# 
root@coder:~# 
root@coder:~# 
 * Overheard at KubeCon: "microk8s.status just blew my mind".
     https://microk8s.io/docs/commands#microk8s.status
3 个可升级软件包。
0 个安全更新。
New release '18.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Wed Dec  4 15:40:43 2019 from 192.168.114.1
root@coder:~# ls
root@coder:~# 
root@coder:~# 
root@coder:~# 
root@coder:~# su - coder
-->@coder:~$ sudo systemctl start docker
[sudo] coder 的密码: 
-->@coder:~$ sudo docker search lvs
NAME                        DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
lvsir625/rancher-server                                                     1                                       
livesafe/lvsf-mysql         Based off the official MySQL container, adds…   1                                       
lvsir625/rancher-agent                                                      1                                       
lvstest/hello-world                                                         0                                       
lvstest/grafanapoc                                                          0                                       
wuhanqing/lvs                                                               0                                       
saiwl/lvs-apiserver                                                         0                                       
lvshao/lvtest                                                               0                                       
fanux/lvscare                                                               0                                       
lvsz/node-hello                                                             0                                       
lvsir625/tomcat-ssh-new                                                     0                                       
lvseav2  ray/seav2  ray         lvseav2  ray                                      0                                       [OK]
lvsir625/test                                                               0                                       
lvsavova/sinatra                                                            0                                       
lvschnider/docker-whale     my docker-whale brah                            0                                       
lvsmart/get-started                                                         0                                       
lvsir625/registry                                                           0                                       
lvshuaijun/get-started                                                      0                                       
lvsir625/java-nscd                                                          0                                       
lvsotos/flaskapp                                                            0                                       
lvstest/maven-hello-world                                                   0                                       
lvsir625/tomcat-ssh                                                         0                                       
lvsir625/tomcat                                                             0                                       
shemic/lvs                                                                  0                                       
lvsz/get-started                                                            0                                       
-->@coder:~$ sudo docker search haproxy
NAME                             DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
haproxy                          HAProxy - The Reliable, High Performance TCP…   1318                [OK]                
dockercloud/haproxy              HAProxy image that balances between linked c…   107                                     
tutum/haproxy                    HAProxy image that load balances between any…   47                                      
eeacms/haproxy                   HAProxy Docker image with docker links and r…   31                                      [OK]
million12/haproxy                Fully customisable HAProxy load balancer bui…   19                                      [OK]
yaronr/haproxy-confd             HAProxy with zero-downtime reconfiguration b…   13                                      [OK]
arm32v7/haproxy                  HAProxy - The Reliable, High Performance TCP…   11                                      
ciscocloud/haproxy-consul                                                        9                                       [OK]
prom/haproxy-exporter                                                            6                                       [OK]
arm64v8/haproxy                  HAProxy - The Reliable, High Performance TCP…   5                                       
mminks/haproxy-docker-logging    Latest Alpine-based official HAProxy image w…   4                                       [OK]
haproxytech/haproxy-debian       HAProxy Community Edition Debian amd64 builds   2                                       
appcelerator/haproxy             haproxy image for AMP. Deprecated.              1                                       [OK]
haproxytech/kubernetes-ingress   HAProxy ingress controller for K8s              1                                       
amd64/haproxy                    HAProxy - The Reliable, High Performance TCP…   1                                       
aaionap/haproxy                  AAI Haproxy                                     0                                       
hivesolutions/haproxy            A fork of the haproxy repo.                     0                                       [OK]
travix/haproxy                   Haproxy container for tls termination inside…   0                                       [OK]
jelastic/haproxy                 An image of the HAProxy load balancer mainta…   0                                       
elasticio/haproxy-srv            Flexible HAProxy auto configuration and auto…   0                                       [OK]
ppc64le/haproxy                  HAProxy - The Reliable, High Performance TCP…   0                                       
kontena/haproxy                                                                  0                                       
s390x/haproxy                    HAProxy - The Reliable, High Performance TCP…   0                                       
anchorfree/haproxy-exporter                                                      0                                       
i386/haproxy                     HAProxy - The Reliable, High Performance TCP…   0                                       
-->@coder:~$ sudo docker images -q
22628d6caa61
fec6dab28edf
4afd6b31fab7
50776ea0e5a4
56bab49eef2e
231d40e811cd
965ea09ff2eb
0f3e07c0138f
4621d4fe2959
-->@coder:~$ sudo docker images -h
Flag shorthand -h has been deprecated, please use --help

Usage:    docker images [OPTIONS] [REPOSITORY[:TAG]]

List images

Options:
  -a, --all             Show all images (default hides intermediate images)
      --digests         Show digests
  -f, --filter filter   Filter output based on conditions provided
      --format string   Pretty-print images using a Go template
      --no-trunc        Don't truncate output
  -q, --quiet           Only show numeric IDs
-->@coder:~$ sudo docker images
REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE
myweb                         v1                  22628d6caa61        18 hours ago        134MB
myip                          latest              fec6dab28edf        18 hours ago        139MB
ngingx                        v3                  4afd6b31fab7        20 hours ago        126MB
nginx                         v2                  50776ea0e5a4        21 hours ago        126MB
ubuntu                        16.04               56bab49eef2e        8 days ago          123MB
nginx                         latest              231d40e811cd        12 days ago         126MB
alpine                        latest              965ea09ff2eb        6 weeks ago         5.55MB
centos                        latest              0f3e07c0138f        2 months ago        220MB
ansible/ubuntu14.04-ansible   latest              4621d4fe2959        4 years ago         461MB
-->@coder:~$ sudo docker search ubuntu:14.04
NAME                                 DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
edse/ubuntu-nginx-mysql-php-nodejs   Docker container built from Ubuntu:14.04 wit…   15                                      [OK]
blacktobacco/ajenti                  Ajenti web hosting panel server based on Ubu…   7                                       [OK]
codebje/ihaskell                     Ubuntu:14.04 with Jupyter, stack, GHC, and I…   2                                       [OK]
leslau/nxlog                         nxlog ce image base on ubuntu:14.04             2                                       [OK]
pkubicki/atom-rc-base                Open SSH with SASS and RSYNC installed on Ub…   1                                       
jorgeluisrmx/ubuntu-dev-base         Ubuntu:14.04 + C/C++ Python  dev libs image     1                                       [OK]
bohanzhang/ubuntu_cn                 国内用户的Ubuntu Dockerfile 基于 ubuntu:14.04          1                                       [OK]
nuagebec/etcd                        etcd image for docker build on nuagebec/ubun…   1                                       [OK]
jorgeluisrmx/ros-indigo              ROS Indigo on Ubuntu:14.04                      1                                       [OK]
takeharu/ubuntu-mysql                MySQL on Ubuntu:14.04                           1                                       [OK]
mikefaille/etcd                      etcd image for docker build on nuagebec/ubun…   1                                       [OK]
jcirizar/devimg                      Ubuntu:14.04 with NVM and more.                 1                                       [OK]
bleaf/ubuntu-ko                      ubuntu:14.04 ko nginx php5                      0                                       [OK]
mrhub/snort                          snort on ubuntu:14.04                           0                                       [OK]
letterer/swift-docker                ubuntu:14.04 with Apple swift                   0                                       [OK]
savaki/dynamodb                      DynamoDB using ubuntu:14.04 and oracle-java8    0                                       [OK]
bdkdevorg/bm.docker.varnish          ubuntu:14.04, varnish, curl, supervisor         0                                       [OK]
zeerdonker/docker-oracle-java        ubuntu:14.04 based oracle-java 8 build          0                                       [OK]
webreactor/ubuntu                    Based on ubuntu:14.04 + git + curl + vim + n…   0                                       [OK]
meedan/base                          meedan base image FROM ubuntu:14.04             0                                       [OK]
slyn/mongodb                         mongodb - ubuntu:14.04                          0                                       [OK]
hieisky/ubuntu-base                  To build a ubuntu:14.04.4 base image.           0                                       [OK]
devorbitus/ubuntu-bash-jq-curl       Based on Ubuntu:14.04 and only adding curl a…   0                                       
pamtrak06/grass7-ubuntu14.04         grass7 under apache2 & ubuntu:14.04             0                                       [OK]
fiverun/ubuntu-java                  Dockerfile for ubuntu:14.04 and Java 8u66       0                                       [OK]
-->@coder:~$ sudo docker pull devorbitus/ubuntu-bash-jq-curl
Using default tag: latest
latest: Pulling from devorbitus/ubuntu-bash-jq-curl
Image docker.io/devorbitus/ubuntu-bash-jq-curl:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/

Digest: sha256:1a97495ebe9ed3501e6fb6cf2722e741252db2145d7c27f65ece55ad800f4a54
Status: Downloaded newer image for devorbitus/ubuntu-bash-jq-curl:latest
docker.io/devorbitus/ubuntu-bash-jq-curl:latest
-->@coder:~$ sudo docker images
REPOSITORY                       TAG                 IMAGE ID            CREATED             SIZE
myweb                            v1                  22628d6caa61        18 hours ago        134MB
myip                             latest              fec6dab28edf        19 hours ago        139MB
ngingx                           v3                  4afd6b31fab7        20 hours ago        126MB
nginx                            v2                  50776ea0e5a4        21 hours ago        126MB
ubuntu                           16.04               56bab49eef2e        8 days ago          123MB
nginx                            latest              231d40e811cd        12 days ago         126MB
alpine                           latest              965ea09ff2eb        6 weeks ago         5.55MB
centos                           latest              0f3e07c0138f        2 months ago        220MB
devorbitus/ubuntu-bash-jq-curl   latest              e76ba9b48002        3 years ago         224MB
ansible/ubuntu14.04-ansible      latest              4621d4fe2959        4 years ago         461MB
-->@coder:~$ sudo docker run e76b /bin/echo "hello world"
hello world
-->@coder:~$ sudo docker run -t -i e76b /bin/bash
root@53d0a643a2c7:/# pwd
/
root@53d0a643a2c7:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@53d0a643a2c7:/# du -sh *
6.3M    bin
4.0K    boot
0    dev
2.9M    etc
4.0K    home
24M    lib
4.0K    lib64
4.0K    media
4.0K    mnt
4.0K    opt
du: cannot access 'proc/16/task/16/fd/4': No such file or directory
du: cannot access 'proc/16/task/16/fdinfo/4': No such file or directory
du: cannot access 'proc/16/fd/3': No such file or directory
du: cannot access 'proc/16/fdinfo/3': No such file or directory
0    proc
12K    root
40K    run
6.8M    sbin
4.0K    srv
0    sys
4.0K    tmp
148M    usr
34M    var
root@53d0a643a2c7:/# ls -l
total 64
drwxr-xr-x   2 root root 4096 May  3  2016 bin
drwxr-xr-x   2 root root 4096 Apr 10  2014 boot
drwxr-xr-x   5 root root  360 Dec  5 02:40 dev
drwxr-xr-x   1 root root 4096 Dec  5 02:40 etc
drwxr-xr-x   2 root root 4096 Apr 10  2014 home
drwxr-xr-x   1 root root 4096 May 26  2016 lib
drwxr-xr-x   2 root root 4096 May  3  2016 lib64
drwxr-xr-x   2 root root 4096 May  3  2016 media
drwxr-xr-x   2 root root 4096 Apr 10  2014 mnt
drwxr-xr-x   2 root root 4096 May  3  2016 opt
dr-xr-xr-x 202 root root    0 Dec  5 02:40 proc
drwx------   2 root root 4096 May  3  2016 root
drwxr-xr-x   7 root root 4096 May  3  2016 run
drwxr-xr-x   1 root root 4096 May  3  2016 sbin
drwxr-xr-x   2 root root 4096 May  3  2016 srv
dr-xr-xr-x  13 root root    0 Dec  5 02:40 sys
drwxrwxrwt   1 root root 4096 May 26  2016 tmp
drwxr-xr-x   1 root root 4096 May 26  2016 usr
drwxr-xr-x   1 root root 4096 May 26  2016 var
root@53d0a643a2c7:/# cd proc
root@53d0a643a2c7:/proc# ls
1          cgroups   devices      fb           ioports    keys         loadavg  modules  pagetypeinfo  self      sys            tty                vmstat
18         cmdline   diskstats    filesystems  irq        kmsg         locks    mounts   partitions    slabinfo  sysrq-trigger  uptime             zoneinfo
acpi       consoles  dma          fs           kallsyms   kpagecgroup  mdstat   mpt      sched_debug   softirqs  sysvipc        version
buddyinfo  cpuinfo   driver       interrupts   kcore      kpagecount   meminfo  mtrr     schedstat     stat      thread-self    version_signature
bus        crypto    execdomains  iomem        key-users  kpageflags   misc     net      scsi          swaps     timer_list     vmallocinfo
root@53d0a643a2c7:/proc# ll
total 4
dr-xr-xr-x 202 root root    0 Dec  5 02:40 ./
drwxr-xr-x   1 root root 4096 Dec  5 02:40 ../
dr-xr-xr-x   9 root root    0 Dec  5 02:40 1/
dr-xr-xr-x   9 root root    0 Dec  5 02:41 19/
drwxrwxrwt   2 root root   40 Dec  5 02:40 acpi/
-r--r--r--   1 root root    0 Dec  5 02:41 buddyinfo
dr-xr-xr-x   4 root root    0 Dec  5 02:40 bus/
-r--r--r--   1 root root    0 Dec  5 02:41 cgroups
-r--r--r--   1 root root    0 Dec  5 02:41 cmdline
-r--r--r--   1 root root    0 Dec  5 02:41 consoles
-r--r--r--   1 root root    0 Dec  5 02:41 cpuinfo
-r--r--r--   1 root root    0 Dec  5 02:41 crypto
-r--r--r--   1 root root    0 Dec  5 02:41 devices
-r--r--r--   1 root root    0 Dec  5 02:41 diskstats
-r--r--r--   1 root root    0 Dec  5 02:41 dma
dr-xr-xr-x   2 root root    0 Dec  5 02:41 driver/
-r--r--r--   1 root root    0 Dec  5 02:41 execdomains
-r--r--r--   1 root root    0 Dec  5 02:41 fb
-r--r--r--   1 root root    0 Dec  5 02:41 filesystems
dr-xr-xr-x   8 root root    0 Dec  5 02:40 fs/
-r--r--r--   1 root root    0 Dec  5 02:41 interrupts
-r--r--r--   1 root root    0 Dec  5 02:41 iomem
-r--r--r--   1 root root    0 Dec  5 02:41 ioports
dr-xr-xr-x  56 root root    0 Dec  5 02:40 irq/
-r--r--r--   1 root root    0 Dec  5 02:41 kallsyms
crw-rw-rw-   1 root root 1, 3 Dec  5 02:40 kcore
-r--r--r--   1 root root    0 Dec  5 02:41 key-users
crw-rw-rw-   1 root root 1, 3 Dec  5 02:40 keys
-r--------   1 root root    0 Dec  5 02:41 kmsg
-r--------   1 root root    0 Dec  5 02:41 kpagecgroup
-r--------   1 root root    0 Dec  5 02:41 kpagecount
-r--------   1 root root    0 Dec  5 02:41 kpageflags
-r--r--r--   1 root root    0 Dec  5 02:41 loadavg
-r--r--r--   1 root root    0 Dec  5 02:41 locks
-r--r--r--   1 root root    0 Dec  5 02:41 mdstat
-r--r--r--   1 root root    0 Dec  5 02:41 meminfo
-r--r--r--   1 root root    0 Dec  5 02:41 misc
-r--r--r--   1 root root    0 Dec  5 02:41 modules
lrwxrwxrwx   1 root root   11 Dec  5 02:41 mounts -> self/mounts
dr-xr-xr-x   3 root root    0 Dec  5 02:41 mpt/
-rw-r--r--   1 root root    0 Dec  5 02:41 mtrr
lrwxrwxrwx   1 root root    8 Dec  5 02:41 net -> self/net/
-r--r--r--   1 root root    0 Dec  5 02:41 pagetypeinfo
-r--r--r--   1 root root    0 Dec  5 02:41 partitions
crw-rw-rw-   1 root root 1, 3 Dec  5 02:40 sched_debug
-r--r--r--   1 root root    0 Dec  5 02:41 schedstat
drwxrwxrwt   2 root root   40 Dec  5 02:40 scsi/
lrwxrwxrwx   1 root root    0 Dec  5 02:40 self -> 19/
-r--------   1 root root    0 Dec  5 02:41 slabinfo
-r--r--r--   1 root root    0 Dec  5 02:41 softirqs
-r--r--r--   1 root root    0 Dec  5 02:41 stat
-r--r--r--   1 root root    0 Dec  5 02:41 swaps
dr-xr-xr-x   1 root root    0 Dec  5 02:40 sys/
--w-------   1 root root    0 Dec  5 02:40 sysrq-trigger
dr-xr-xr-x   2 root root    0 Dec  5 02:41 sysvipc/
lrwxrwxrwx   1 root root    0 Dec  5 02:40 thread-self -> 19/task/19/
crw-rw-rw-   1 root root 1, 3 Dec  5 02:40 timer_list
dr-xr-xr-x   4 root root    0 Dec  5 02:41 tty/
-r--r--r--   1 root root    0 Dec  5 02:41 uptime
-r--r--r--   1 root root    0 Dec  5 02:41 version
-r--r--r--   1 root root    0 Dec  5 02:41 version_signature
-r--------   1 root root    0 Dec  5 02:41 vmallocinfo
-r--r--r--   1 root root    0 Dec  5 02:41 vmstat
-r--r--r--   1 root root    0 Dec  5 02:41 zoneinfo
root@53d0a643a2c7:/proc# stat version
  File: 'version'
  Size: 0             Blocks: 0          IO Block: 1024   regular empty file
Device: 38h/56d    Inode: 4026532029  Links: 1
Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-12-05 02:41:32.190873526 +0000
Modify: 2019-12-05 02:41:32.190873526 +0000
Change: 2019-12-05 02:41:32.190873526 +0000
 Birth: -
root@53d0a643a2c7:/proc# cd ..
root@53d0a643a2c7:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@53d0a643a2c7:/# ps
   PID TTY          TIME CMD
     1 pts/0    00:00:00 bash
    22 pts/0    00:00:00 ps
root@53d0a643a2c7:/# top
top - 02:42:38 up 21 min,  0 users,  load average: 0.08, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.9 sy,  0.1 ni, 97.5 id,  1.1 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178456 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034480 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19744   2340   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:41 up 21 min,  0 users,  load average: 0.08, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178456 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034492 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:44 up 21 min,  0 users,  load average: 0.07, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178464 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034488 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:47 up 22 min,  0 users,  load average: 0.07, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178464 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034496 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:50 up 22 min,  0 users,  load average: 0.07, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178472 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034500 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:53 up 22 min,  0 users,  load average: 0.06, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178472 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034500 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:56 up 22 min,  0 users,  load average: 0.06, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178480 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034500 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:42:59 up 22 min,  0 users,  load average: 0.06, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.0 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178480 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034504 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:43:02 up 22 min,  0 users,  load average: 0.06, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178488 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034496 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.00 top                                                                                                            
top - 02:43:05 up 22 min,  0 users,  load average: 0.05, 0.09, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.2 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178488 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034508 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
    23 root      20   0   19748   2356   2052 R   0.3  0.1   0:00.01 top                                                                                                            
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
top - 02:43:08 up 22 min,  0 users,  load average: 0.05, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178496 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034508 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:11 up 22 min,  0 users,  load average: 0.05, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178496 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034512 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:14 up 22 min,  0 users,  load average: 0.04, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni, 99.9 id,  0.1 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178504 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034516 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:17 up 22 min,  0 users,  load average: 0.04, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178504 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034516 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:20 up 22 min,  0 users,  load average: 0.04, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1757904 used,  1292180 free,   178512 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034516 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:23 up 22 min,  0 users,  load average: 0.04, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178512 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034520 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:26 up 22 min,  0 users,  load average: 0.04, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178520 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034520 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:29 up 22 min,  0 users,  load average: 0.03, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178520 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034524 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:32 up 22 min,  0 users,  load average: 0.03, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178528 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034516 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:35 up 22 min,  0 users,  load average: 0.03, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178528 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034528 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top                                                                                                            
top - 02:43:38 up 22 min,  0 users,  load average: 0.03, 0.08, 0.06
Tasks:   2 total,   1 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   3050084 total,  1758028 used,  1292056 free,   178536 buffers
KiB Swap:   999420 total,        0 used,   999420 free.  1034528 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                        
     1 root      20   0   18172   3356   2872 S   0.0  0.1   0:00.19 bash                                                                                                           
    23 root      20   0   19748   2356   2052 R   0.0  0.1   0:00.01 top

 

你可能感兴趣的:(Docker&K8s)