docker 学习操作记录 5-1
记录5-1
[BEGIN] // ::
Connecting to 192.168.114.130:...
Connection established.
To escape to local shell, press Ctrl+Alt+]. Welcome to Ubuntu 16.04. LTS (GNU/Linux 4.15.--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 个可升级软件包。
个安全更新。 New release '18.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it. Last login: Wed Dec :: 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
个可升级软件包。
个安全更新。
New release '18.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Wed Dec :: 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
livesafe/lvsf-mysql Based off the official MySQL container, adds…
lvsir625/rancher-agent
lvstest/hello-world
lvstest/grafanapoc
wuhanqing/lvs
saiwl/lvs-apiserver
lvshao/lvtest
fanux/lvscare
lvsz/node-hello
lvsir625/tomcat-ssh-new
lvseav2 ray/seav2 ray lvseav2 ray [OK]
lvsir625/test
lvsavova/sinatra
lvschnider/docker-whale my docker-whale brah
lvsmart/get-started
lvsir625/registry
lvshuaijun/get-started
lvsir625/java-nscd
lvsotos/flaskapp
lvstest/maven-hello-world
lvsir625/tomcat-ssh
lvsir625/tomcat
shemic/lvs
lvsz/get-started
-->@coder:~$ sudo docker search haproxy
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
haproxy HAProxy - The Reliable, High Performance TCP… [OK]
dockercloud/haproxy HAProxy image that balances between linked c…
tutum/haproxy HAProxy image that load balances between any…
eeacms/haproxy HAProxy Docker image with docker links and r… [OK]
million12/haproxy Fully customisable HAProxy load balancer bui… [OK]
yaronr/haproxy-confd HAProxy with zero-downtime reconfiguration b… [OK]
arm32v7/haproxy HAProxy - The Reliable, High Performance TCP…
ciscocloud/haproxy-consul [OK]
prom/haproxy-exporter [OK]
arm64v8/haproxy HAProxy - The Reliable, High Performance TCP…
mminks/haproxy-docker-logging Latest Alpine-based official HAProxy image w… [OK]
haproxytech/haproxy-debian HAProxy Community Edition Debian amd64 builds
appcelerator/haproxy haproxy image for AMP. Deprecated. [OK]
haproxytech/kubernetes-ingress HAProxy ingress controller for K8s
amd64/haproxy HAProxy - The Reliable, High Performance TCP…
aaionap/haproxy AAI Haproxy
hivesolutions/haproxy A fork of the haproxy repo. [OK]
travix/haproxy Haproxy container for tls termination inside… [OK]
jelastic/haproxy An image of the HAProxy load balancer mainta…
elasticio/haproxy-srv Flexible HAProxy auto configuration and auto… [OK]
ppc64le/haproxy HAProxy - The Reliable, High Performance TCP…
kontena/haproxy
s390x/haproxy HAProxy - The Reliable, High Performance TCP…
anchorfree/haproxy-exporter
i386/haproxy HAProxy - The Reliable, High Performance TCP…
-->@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 hours ago 134MB
myip latest fec6dab28edf hours ago 139MB
ngingx v3 4afd6b31fab7 hours ago 126MB
nginx v2 50776ea0e5a4 hours ago 126MB
ubuntu 16.04 56bab49eef2e days ago 123MB
nginx latest 231d40e811cd days ago 126MB
alpine latest 965ea09ff2eb weeks ago .55MB
centos latest 0f3e07c0138f months ago 220MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 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… [OK]
blacktobacco/ajenti Ajenti web hosting panel server based on Ubu… [OK]
codebje/ihaskell Ubuntu:14.04 with Jupyter, stack, GHC, and I… [OK]
leslau/nxlog nxlog ce image base on ubuntu:14.04 [OK]
pkubicki/atom-rc-base Open SSH with SASS and RSYNC installed on Ub…
jorgeluisrmx/ubuntu-dev-base Ubuntu:14.04 + C/C++ Python dev libs image [OK]
bohanzhang/ubuntu_cn 国内用户的Ubuntu Dockerfile 基于 ubuntu:14.04 [OK]
nuagebec/etcd etcd image for docker build on nuagebec/ubun… [OK]
jorgeluisrmx/ros-indigo ROS Indigo on Ubuntu:14.04 [OK]
takeharu/ubuntu-mysql MySQL on Ubuntu:14.04 [OK]
mikefaille/etcd etcd image for docker build on nuagebec/ubun… [OK]
jcirizar/devimg Ubuntu:14.04 with NVM and more. [OK]
bleaf/ubuntu-ko ubuntu:14.04 ko nginx php5 [OK]
mrhub/snort snort on ubuntu:14.04 [OK]
letterer/swift-docker ubuntu:14.04 with Apple swift [OK]
savaki/dynamodb DynamoDB using ubuntu:14.04 and oracle-java8 [OK]
bdkdevorg/bm.docker.varnish ubuntu:14.04, varnish, curl, supervisor [OK]
zeerdonker/docker-oracle-java ubuntu:14.04 based oracle-java build [OK]
webreactor/ubuntu Based on ubuntu:14.04 + git + curl + vim + n… [OK]
meedan/base meedan base image FROM ubuntu:14.04 [OK]
slyn/mongodb mongodb - ubuntu:14.04 [OK]
hieisky/ubuntu-base To build a ubuntu:14.04. base image. [OK]
devorbitus/ubuntu-bash-jq-curl Based on Ubuntu:14.04 and only adding curl a…
pamtrak06/grass7-ubuntu14. grass7 under apache2 & ubuntu:14.04 [OK]
fiverun/ubuntu-java Dockerfile for ubuntu:14.04 and Java 8u66 [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 hours ago 134MB
myip latest fec6dab28edf hours ago 139MB
ngingx v3 4afd6b31fab7 hours ago 126MB
nginx v2 50776ea0e5a4 hours ago 126MB
ubuntu 16.04 56bab49eef2e days ago 123MB
nginx latest 231d40e811cd days ago 126MB
alpine latest 965ea09ff2eb weeks ago .55MB
centos latest 0f3e07c0138f months ago 220MB
devorbitus/ubuntu-bash-jq-curl latest e76ba9b48002 years ago 224MB
ansible/ubuntu14.-ansible latest 4621d4fe2959 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
.0K boot
dev
2.9M etc
.0K home
24M lib
.0K lib64
.0K media
.0K mnt
.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
proc
12K root
40K run
6.8M sbin
.0K srv
sys
.0K tmp
148M usr
34M var
root@53d0a643a2c7:/# ls -l
total
drwxr-xr-x root root May bin
drwxr-xr-x root root Apr boot
drwxr-xr-x root root Dec : dev
drwxr-xr-x root root Dec : etc
drwxr-xr-x root root Apr home
drwxr-xr-x root root May lib
drwxr-xr-x root root May lib64
drwxr-xr-x root root May media
drwxr-xr-x root root Apr mnt
drwxr-xr-x root root May opt
dr-xr-xr-x root root Dec : proc
drwx------ root root May root
drwxr-xr-x root root May run
drwxr-xr-x root root May sbin
drwxr-xr-x root root May srv
dr-xr-xr-x root root Dec : sys
drwxrwxrwt root root May tmp
drwxr-xr-x root root May usr
drwxr-xr-x root root May var
root@53d0a643a2c7:/# cd proc
root@53d0a643a2c7:/proc# ls
cgroups devices fb ioports keys loadavg modules pagetypeinfo self sys tty vmstat
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
dr-xr-xr-x root root Dec : ./
drwxr-xr-x root root Dec : ../
dr-xr-xr-x root root Dec : /
dr-xr-xr-x root root Dec : /
drwxrwxrwt root root Dec : acpi/
-r--r--r-- root root Dec : buddyinfo
dr-xr-xr-x root root Dec : bus/
-r--r--r-- root root Dec : cgroups
-r--r--r-- root root Dec : cmdline
-r--r--r-- root root Dec : consoles
-r--r--r-- root root Dec : cpuinfo
-r--r--r-- root root Dec : crypto
-r--r--r-- root root Dec : devices
-r--r--r-- root root Dec : diskstats
-r--r--r-- root root Dec : dma
dr-xr-xr-x root root Dec : driver/
-r--r--r-- root root Dec : execdomains
-r--r--r-- root root Dec : fb
-r--r--r-- root root Dec : filesystems
dr-xr-xr-x root root Dec : fs/
-r--r--r-- root root Dec : interrupts
-r--r--r-- root root Dec : iomem
-r--r--r-- root root Dec : ioports
dr-xr-xr-x root root Dec : irq/
-r--r--r-- root root Dec : kallsyms
crw-rw-rw- root root , Dec : kcore
-r--r--r-- root root Dec : key-users
crw-rw-rw- root root , Dec : keys
-r-------- root root Dec : kmsg
-r-------- root root Dec : kpagecgroup
-r-------- root root Dec : kpagecount
-r-------- root root Dec : kpageflags
-r--r--r-- root root Dec : loadavg
-r--r--r-- root root Dec : locks
-r--r--r-- root root Dec : mdstat
-r--r--r-- root root Dec : meminfo
-r--r--r-- root root Dec : misc
-r--r--r-- root root Dec : modules
lrwxrwxrwx root root Dec : mounts -> self/mounts
dr-xr-xr-x root root Dec : mpt/
-rw-r--r-- root root Dec : mtrr
lrwxrwxrwx root root Dec : net -> self/net/
-r--r--r-- root root Dec : pagetypeinfo
-r--r--r-- root root Dec : partitions
crw-rw-rw- root root , Dec : sched_debug
-r--r--r-- root root Dec : schedstat
drwxrwxrwt root root Dec : scsi/
lrwxrwxrwx root root Dec : self -> /
-r-------- root root Dec : slabinfo
-r--r--r-- root root Dec : softirqs
-r--r--r-- root root Dec : stat
-r--r--r-- root root Dec : swaps
dr-xr-xr-x root root Dec : sys/
--w------- root root Dec : sysrq-trigger
dr-xr-xr-x root root Dec : sysvipc/
lrwxrwxrwx root root Dec : thread-self -> /task//
crw-rw-rw- root root , Dec : timer_list
dr-xr-xr-x root root Dec : tty/
-r--r--r-- root root Dec : uptime
-r--r--r-- root root Dec : version
-r--r--r-- root root Dec : version_signature
-r-------- root root Dec : vmallocinfo
-r--r--r-- root root Dec : vmstat
-r--r--r-- root root Dec : zoneinfo
root@53d0a643a2c7:/proc# stat version
File: 'version'
Size: Blocks: IO Block: regular empty file
Device: 38h/56d Inode: Links:
Access: (/-r--r--r--) Uid: ( / root) Gid: ( / root)
Access: -- ::32.190873526 +
Modify: -- ::32.190873526 +
Change: -- ::32.190873526 +
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
pts/ :: bash
pts/ :: ps
root@53d0a643a2c7:/# top
top - :: up min, users, load average: 0.08, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.08, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.07, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.07, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.07, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.06, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.06, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.06, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.06, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.00 top
top - :: up min, users, load average: 0.05, 0.09, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root R 0.3 0.1 :00.01 top
root S 0.0 0.1 :00.19 bash
top - :: up min, users, load average: 0.05, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.05, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.04, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.04, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.04, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.04, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.04, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.03, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.03, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.03, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
top - :: up min, users, load average: 0.03, 0.08, 0.06
Tasks: total, running, sleeping, stopped, 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: total, used, free, buffers
KiB Swap: total, used, free. cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
root S 0.0 0.1 :00.19 bash
root R 0.0 0.1 :00.01 top
docker 学习操作记录 5-1的更多相关文章
- docker 学习操作记录 5-2
记录5-2 root@53d0a643a2c7:/# quit bash: quit: command not found root@53d0a643a2c7:/# exit exit -->@ ...
- docker 学习操作记录 5
记录5 * Overheard at KubeCon: "microk8s.status just blew my mind". https://microk8s.io/docs/ ...
- docker 学习操作记录 4
记录3 [BEGIN] // :: Connecting to ... Connection established. To escape to local shell, press Ctrl+Alt ...
- docker 学习操作记录 2
记录2 [BEGIN] // :: Connecting to ... Connection established. To escape to local shell, press Ctrl+Alt ...
- docker 学习操作记录 1
记录1 Xshell (Build ) Copyright (c) NetSarang Computer, Inc. All rights reserved. Type `help' to learn ...
- docker 学习操作记录 3
记录3 [BEGIN] // :: Last :: from 192.168.114.1 root@coder:~# man addgroup ADDUSER() System Manager's M ...
- Docker学习要点记录
Docker的架构和底层技术: 1.docker提供了一个开发,打包,运行app的平台2.把APP和底层infrastructure隔离开来 docker底层技术支持: 1>Namespaces ...
- Docker 学习之镜像导入导出及推送阿里云服务器(三)
在前面两节里主要就是记录一些docker的基本的操作,包括搜索镜像,拉取镜像,根据镜像创建容器等等,在这一节主要就是记录Docker对于镜像文件的导入导出,及推送到阿里云再从阿里云获取镜像. 一.镜像 ...
- Docker学习(四): 操作容器
特别声明: 博文主要是学习过程中的知识整理,以便之后的查阅回顾.部分内容来源于网络(如有摘录未标注请指出).内容如有差错,也欢迎指正! =============系列文章============= 1 ...
随机推荐
- linux系统下使用nginx反向代理asp.net core,并配置免费的https证书
反向代理是为动态 Web 应用提供服务的常见设置. 反向代理终止 HTTP 请求,并将其转发到 ASP.NET Core 应用. 1.在asp.net core项目中的Startup的Configur ...
- PIE SDK剔除栅格块算法
1.算法功能简介 剔除栅格块即剔除栅格小斑块功能.一幅影像图层某一区域存在碎小斑块,需要对其按照一定的条件进行剔除. PIE支持剔除栅格快算法功能的执行,下面对该算法功能进行介绍. 2.算法功能实现说 ...
- Linux C 后台服务程序单进程控制
介绍 通常后台服务器程序都必须有且只有一个进程,那么如何单进程呢? 本例子是通过flock函数对/var/run/myserver.pid记录pid文件的进行加锁 若加锁不正常,说明后台服务进程已经在 ...
- 5.如何保证 redis 的高并发和高可用?redis 的主从复制原理能介绍一下么?redis 的哨兵原理能介绍一下么?
作者:中华石杉 面试题 如何保证 redis 的高并发和高可用?redis 的主从复制原理能介绍一下么?redis 的哨兵原理能介绍一下么? 面试官心理分析 其实问这个问题,主要是考考你,redis ...
- JS数据打印的几种方式
/** * 在页面输出内容! */ document.write("This's Great!"); /** * 控制台打印: */ console.log("This ...
- Linux上搭建SVN服务
环境:centos7 一.搭建svn服务 1. 安装svn yum -y install subversion 2. 创建一个目录作为svn服务的地址(svn://192.168.0.2:3690 访 ...
- json序列化时间日期数据注意
通过json序列化时间日期格式数据的时候需要注意,不能直接序列化,我写了一个类,可以借用 import json from datetime import datetime,date a = {'na ...
- 第10节-BLE协议链路层(LL)
本篇博客的学些要结合书籍<低功耗蓝牙开发权威指南,Robin Heydon著>第7章,实际上这书只是对蓝牙原版协议的简化.摘要. 回顾以前学过的<BLE协议各层的形象化理解>和 ...
- swagger 配置- ssm
swagger 配置 - ssm swagger 是一个用来看接口的工具,具体效果如下,这里用的是swagger2 1.porm.xml <dependency> <groupId& ...
- Linux 换 jdk 版本 环境没有生效
Linux 换 jdk 版本 环境没有生效 把 jdk 1.7 换成 1.8, 路径设置好了后 用了下面两个都没有生效 . /etc/profile source ~/.bashrc 还是 jdk 1 ...