Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 11-04-2016 05:25 PM - edited 09-16-2022 03:46 AM
Hello,
I have looked all over the place and have tried everything I have found.
I cannot get the load to work.
I get the following message:
[user01@docker01 hortonworks_hadoop]$ sudo docker load < HDP_2.5_docker.tar b1b065555b8a: Loading layer 202.2 MB/202.2 MB 3901568415a3: Loading layer 10.37 GB/13.85 GB ApplyLayer exit status 1 stdout: stderr: write /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/amd64/server/libjvm.so: no space left on device
I tried:
a. @ /etc/sysconfig/docker add : other_args="-g /var/lib/docker"
b. @ /etc/sysconfig/docker-storage add : DOCKER_STORAGE_OPTIONS="--storage-opt dm.basesize=30G"
c. restart the daemons
Nothing works.
Please let me know if there are other solutions that would solve this.
Thanks,
Marcia
Created 11-08-2016 05:00 PM
Thank you Michael and Glupu!!!
It now is working!!!
I did changes a and b. Plus the overlay changes. And also deleted /var/lib/docker .
Thanks so much!
I have another issue which is with the start_sandbox.sh file. I will create another thread.
Created 11-08-2016 04:37 PM
I did the following, and overlay was changed...ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo docker info
Created 11-08-2016 05:00 PM
Thank you Michael and Glupu!!!
It now is working!!!
I did changes a and b. Plus the overlay changes. And also deleted /var/lib/docker .
Thanks so much!
I have another issue which is with the start_sandbox.sh file. I will create another thread.
Created 11-09-2016 03:36 AM
I'm glad you were able to get things working!
Created 11-09-2016 11:33 AM
Hi All,
I was able to resolve this -
by adding this line in in docker.service in /lib/systemd/system
ExecStart=/usr/bin/dockerd --graph="/datadrive/docker-data" --storage-opt=dm.basesize=50G
[root@docker datadrive]# docker load < HDP_2.5_docker.tar b1b065555b8a: Loading layer [==================================================>] 202.2 MB/202.2 MB 0b547722f59f: Loading layer [==================================================>] 13.84 GB/13.84 GB 99d7327952e0: Loading layer [==================================================>] 234.8 MB/234.8 MB 294b1c0e07bd: Loading layer [==================================================>] 207.5 MB/207.5 MB fd5c10f2f1a1: Loading layer [==================================================>] 387.6 kB/387.6 kB 6852ef70321d: Loading layer [==================================================>] 163 MB/163 MB 517f170bbf7f: Loading layer [==================================================>] 20.98 MB/20.98 MB 665edb80fc91: Loading layer [==================================================>] 337.4 kB/337.4 kB Loaded image: sandbox:latest
Thanks,
Avijeet
Created 11-10-2016 01:53 PM
I wrote an HCC article that walks you through the process of increasing the base size of the CentOS 7 docker vm image. This is the preferred method for making these changes.