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 ...
随机推荐
- from import语句
*)假如导入出现了问题,那么一定是导入的文件里的语法问题或者其他问题 参考链接:http://www.cnblogs.com/hwf-73/p/5493328.html 1)导入时重命名 as fro ...
- Git远程协作和分支
一.远程基本操作 基本的配置远程仓库有两个命令: git remote add origin git@github.com:ZXZxin/gitlearn.git : git push -u orig ...
- ElasticSearch(九)e代驾使用Elasticsearch流程设计(Yii1版本)
一.控制器层的更新.添加.删除 class AddKnowledgeAction extends CAction { //add and update public function actionPo ...
- 架构师小跟班:推荐46个非常经典的Linux面试题
大家都知道,做后端开发,做着做着就变成全栈了.一般服务器维护应该是运维的事情,但很多很多公司都是后端工程师在做.所以,基本的Linux系统维护也是后端工程师的必修课.问题一: 绝对路径用什么符号表示? ...
- Vue.js项目实战-打造线上商城
首先上一下完成后的效果: 首页: 商品详情页: 购物车页(其实还有个订单页,只是和购物车页基本类似,所以就不截图啦): 开始项目: 由于涉及的是前后端分离,所以我们的后台数据就模拟存储于浏览器端(co ...
- 面试官问我,为什么老司机建议MySQL列属性尽量用 NOT NULL ?
本文阅读时间大约6分钟. 其实写这篇文章,也是来自一个知识星球读者的提问,他在二面的过程中被问到了,由于他简历中写道有 MySQL 调优经验,但这个问题没有回答好,二面被刷了. 其实我们刚学习 C 语 ...
- Python之虚拟环境
场景:本地开发环境使用不同版本的包进行不同项目开发 总结:Linux通过配置环境变量来进行虚拟环境的切换,而Windows要通过虚拟环境目录下的Scripts的activate和deactivate进 ...
- 1-剑指offer: 数组中出现次数超过一半的数字
题目描述 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字.例如输入一个长度为9的数组{1,2,3,2,2,2,5,4,2}.由于数字2在数组中出现了5次,超过数组长度的一半,因此输出2. ...
- 201671030129 周婷 实验十四 团队项目评审&课程学习总结
项目 内容 这个作业属于哪个课程 软件工程 这个作业的要求在哪里 团队项目评审&课程学习总结 课程学习目标 (1)完成项目验收(2)反思总结课程学习内容 1.对<实验一 软件工程准备&g ...
- Python多线程采集百度相关搜索关键词
百度相关搜索关键词抓取,读取txt关键词,导出txt关键词 #百度相关搜索关键词抓取,读取txt关键词,导出txt关键词 # -*- coding=utf-8 -*- import request ...