[memo] 2015.1230 Install docker on Ubuntu , DELL Optiplex 780 DT

2016 01 02 12 30 17

剛好過3年保固就掛了

[32231.988169] blk_update_request: critical medium error, dev sdb, sector 5590109640
[32235.376649] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[32235.376654] sd 5:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[32235.376657] sd 5:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[32235.376661] sd 5:0:0:0: [sdb] tag#0 CDB: Read(16) 88 00 00 00 00 01 4d 32 4d c8 00 00 00 08 00 00
[32235.376664] blk_update_request: critical medium error, dev sdb, sector 5590109640
[32244.926975] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[32244.926980] sd 5:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[32244.926983] sd 5:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[32244.926988] sd 5:0:0:0: [sdb] tag#0 CDB: Read(16) 88 00 00 00 00 01 4d 32 50 60 00 00 00 08 00 00
[32244.926991] blk_update_request: critical medium error, dev sdb, sector 5590110304
[32248.315216] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[32248.315221] sd 5:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[32248.315224] sd 5:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[32248.315228] sd 5:0:0:0: [sdb] tag#0 CDB: Read(16) 88 00 00 00 00 01 4d 32 50 60 00 00 00 08 00 00
[32248.315231] blk_update_request: critical medium error, dev sdb, sector 5590110304

 

2015 12 31 09 23 53

2016 01 02 12 26 28

Running cAdvisor
With Docker

We have a Docker image that includes everything you need to get started. Simply run:

sudo docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:rw \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --publish=8080:8080 \
  --detach=true \
  --name=cadvisor \
  google/cadvisor:latest
cAdvisor is now running (in the background) on http://localhost:8080/. The setup includes directories with Docker state cAdvisor needs to observe.

—–

in the file /etc/network/interfaces :

#
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
#

#
#
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping	: 6
microcode	: 0x60c
cpu MHz		: 2992.431
cache size	: 6144 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority
bugs		:
bogomips	: 5984.86
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping	: 6
microcode	: 0x60c
cpu MHz		: 2992.431
cache size	: 6144 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority
bugs		:
bogomips	: 5984.86
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:



[    1.938644] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    1.938674] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.940710] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.941778] sd 0:0:0:0: [sda] Write Protect is off
[    1.942794] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.942810] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.944682]  sda: sda1 sda2
[    1.945911] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.315692] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    6.591737] Adding 11128828k swap on /dev/sda2.  Priority:-1 extents:1 across:11128828k FS
[    6.668491] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro





# /etc/fstab: static file system information.
# / was on /dev/sda1 during installation
UUID=36708971-ccca-48f6-8f85-0b9fccb18b47 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda2 during installation
UUID=9ba8c4eb-a95c-43b9-a94b-aa2eb5364e63 none            swap    sw              0       0



root@oasis:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           379M  636K  379M   1% /run
/dev/sda1       907G  1.3G  860G   1% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            1.9G     0  1.9G   0% /run/shm
none            100M     0  100M   0% /run/user







             total       used       free     shared    buffers     cached
Mem:       3880884     303728    3577156        616      16996     196044
-/+ buffers/cache:      90688    3790196
Swap:      4022268          0    4022268

..

2015 12 30 17 51 53

2015 12 30 17 52 52

2015 12 30 17 53 33