However, I forgot to check the available disk space …..
So, when I ran this command: -
tar xf /tmp/ibm-cloud-private-x86_64-2.1.0.1.tar.gz -O | sudo docker load
to expand the ICP tarball and load the corresponding Docker images, I ended up with: -
97f41382ba74: Loading layer [==================================================>] 4.727MB/4.727MB
Loaded image: ibmcom/vulnerability-annotator:20171011
9f17712cba0b: Loading layer [========================> ] 61.28MB/126.6MB
Error processing tar file(exit status 1): write /usr/lib/python2.7/pydoc_data/topics.py: no space left on device
Loaded image: ibmcom/vulnerability-annotator:20171011
9f17712cba0b: Loading layer [========================> ] 61.28MB/126.6MB
Error processing tar file(exit status 1): write /usr/lib/python2.7/pydoc_data/topics.py: no space left on device
df -kmh
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 6.2M 387M 2% /run
/dev/sda1 46G 29G 15G 67% /
tmpfs 2.0G 196K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 393M 52K 393M 1% /run/user/1000
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 6.2M 387M 2% /run
/dev/sda1 46G 29G 15G 67% /
tmpfs 2.0G 196K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 393M 52K 393M 1% /run/user/1000
To mitigate this, I wanted to quickly remove the Docker images, and re-do from start.
This is what I have: -
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ibmcom/icp-catalog-ui 2.1.0.1 24cf2215580a 4 weeks ago 116MB
ibmcom/kubernetes v1.8.3-ee 924aee0d6910 5 weeks ago 513MB
ibmcom/icp-datastore 2.1.0.1 1575ed9083e6 5 weeks ago 1.72GB
ibmcom/icp-platform-ui 2.1.0.1 25e8146b6fac 5 weeks ago 153MB
ibmcom/iam-policy-decision 2.1.0.1 ac23eb27e760 5 weeks ago 576MB
ibmcom/iam-token-service 2.1.0.1 4da681e7e542 5 weeks ago 891MB
ibmcom/unified-router 2.1.0.1 caf82a5f8a00 5 weeks ago 50.1MB
ibmcom/icp-platform-api 2.1.0.1 9529dd6d9349 5 weeks ago 142MB
ibmcom/icp-identity-provider 2.1.0.1 7a8784ad58fc 5 weeks ago 164MB
ibmcom/icp-image-manager 2.1.0.1 c05a213a80e1 5 weeks ago 25.6MB
ibmcom/icp-router 2.1.0.1 1e2c1cc654b6 5 weeks ago 46.5MB
ibmcom/icp-platform-auth 2.1.0.1 96e70190d588 5 weeks ago 498MB
ibmcom/icp-identity-manager 2.1.0.1 54db055b2b1c 5 weeks ago 185MB
ibmcom/icp-helm-api 2.1.0.1 b72c1d4155b8 5 weeks ago 139MB
ibmcom/icp-helm-repo 2.1.0.1 2cb2b0c0ca02 5 weeks ago 98.5MB
ibmcom/metering-data-manager 2.1.0.1 01fc6bf87198 6 weeks ago 72.6MB
ibmcom/metering-server 2.1.0.1 3401a1fe1a65 7 weeks ago 630MB
ibmcom/metering-ui 2.1.0.1 216ae682db59 7 weeks ago 425MB
ibmcom/metering-reader 2.1.0.1 56354bef6b82 7 weeks ago 166MB
ibmcom/usncrawler 20171128 7f9ab5354091 7 weeks ago 481MB
ibmcom/live-crawler 20171128 5dd18f1681db 7 weeks ago 715MB
ibmcom/sas-mgmt 20171113 9801e6747666 7 weeks ago 519MB
ibmcom/sas-api 20171113 750679c0c313 7 weeks ago 519MB
ibmcom/reg-crawler 20171122 4d1991b4d0af 7 weeks ago 716MB
ibmcom/gluster 3.12.1 0a644a8465a6 7 weeks ago 347MB
ibmcom/metrics-crawler 20171122 f25802bd7454 8 weeks ago 715MB
ibmcom/service-catalog-service-catalog v0.1.2 566a76042660 2 months ago 105MB
ibmcom/livescan-proxy 20171011 1f28dd781b9a 3 months ago 418MB
ibmcom/rootkit-annotator 20171011 e0d54f8afa6a 3 months ago 413MB
ibmcom/password-annotator 20171011 13cbea171a66 3 months ago 1.19GB
ibmcom/compliance-annotator 20171011 9a6812e9f19f 3 months ago 1.27GB
ibmcom/vulnerability-annotator 20171011 bca818bb6d43 3 months ago 1.26GB
ibmcom/config-parser 20171011 b69068191cc9 3 months ago 1.22GB
ibmcom/generic-indexer 20171011 9a03a4f3cc64 3 months ago 785MB
ibmcom/config-indexer 20171011 6f388d467108 3 months ago 785MB
ibmcom/elasticsearch 2.4.1-20171011 7317af2ea391 3 months ago 537MB
ibmcom/indices-cleaner 0.2 5e092b17e223 3 months ago 210MB
ibmcom/icp-initcontainer 1.0.0 76da55c8019d 4 months ago 3.97MB
ibmcom/ucarp 1.5.2 d6f29a895ed9 4 months ago 7.67MB
ibmcom/tiller v2.6.0 47011b53bf14 4 months ago 48.6MB
ibmcom/calico-policy-controller v0.7.0 60d797585fc5 5 months ago 21.9MB
ibmcom/service-catalog-apiserver v0.0.15 3a30f3472e44 5 months ago 196MB
ibmcom/service-catalog-controller-manager v0.0.15 708755fff078 5 months ago 193MB
ibmcom/kube-state-metrics v1.0.0 8bbbe7eb4704 5 months ago 43.9MB
ibmcom/calico-node v2.4.1 7643422fdf0f 5 months ago 277MB
ibmcom/grafana 4.4.3 49e2eb4da222 5 months ago 287MB
ibmcom/curl 3.6 f73fee23ac74 5 months ago 5.35MB
ibmcom/coredns 010 27e7aa6e71ce 5 months ago 43.5MB
ibmcom/kibana 5.5.1 7bf53f710f44 5 months ago 629MB
ibmcom/filebeat 5.5.1 af80995a4fcf 5 months ago 271MB
ibmcom/logstash 5.5.1 e8f5c2ec30f2 5 months ago 577MB
ibmcom/elasticsearch 5.5.1 74ef44f69db6 5 months ago 544MB
ibmcom/heketi 5 5851537645df 5 months ago 343MB
ibmcom/alertmanager v0.8.0 901c70144da4 6 months ago 17.7MB
ibmcom/heapster v1.4.0 749531a6d2cf 6 months ago 73.4MB
ibmcom/k8s-dns-sidecar 1.14.4 38bac66034a6 6 months ago 41.8MB
ibmcom/k8s-dns-kube-dns 1.14.4 a8e00546bcf3 6 months ago 49.4MB
ibmcom/k8s-dns-dnsmasq-nanny 1.14.4 f7f45b9cb733 6 months ago 41.4MB
ibmcom/prometheus v1.7.1 4da113bb6ae3 7 months ago 74.5MB
ibmcom/etcd v3.1.5 3f6d64a8fae8 8 months ago 152MB
ibmcom/node-exporter v0.14.0 bb4a6b774658 10 months ago 18.9MB
ibmcom/kafka 0.10.0.1 223037679e4f 10 months ago 260MB
ibmcom/k8szk v2 2fd25e05d6e2 13 months ago 284MB
ibmcom/configmap-reload v0.1 b70d7dba98e6 17 months ago 4.78MB
ibmcom/mariadb 10.1.16 3b5159f610ed 18 months ago 392MB
ibmcom/registry 2 8ff6a4aae657 19 months ago 172MB
ibmcom/pause 3.0 99e59f495ffa 20 months ago 747kB
Sadly, there's no command such as: -
docker rmi —all
or similar.
So I did this: -
docker rmi `docker images | awk '{print $3}'`
which is just as good :-)
And now we're back to normal
df -kmh
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 6.2M 387M 2% /run
/dev/sda1 46G 13G 31G 30% /
tmpfs 2.0G 196K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 393M 52K 393M 1% /run/user/1000
Having moved the ICP tarball onto a different box ( NFS server ), I'm trying again ….
tar xf /mnt/ibm-cloud-private-x86_64-2.1.0.1.tar.gz -O | sudo docker load
No comments:
Post a Comment