<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Docker hdp 2.5 import is very slow in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169553#M41772</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14088/maruykr1981.html" nodeid="14088"&gt;@Atsushi Marumo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have written an article guiding you through the process with CentOS 7.  This is the preferred way to do this: &lt;A href="https://community.hortonworks.com/content/kbentry/65714/how-to-modify-the-default-docker-configuration-on.html"&gt;https://community.hortonworks.com/content/kbentry/65714/how-to-modify-the-default-docker-configuration-on.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can read more about CentOS 7 and Docker image location here: &lt;A target="_blank" href="https://docs.docker.com/engine/admin/systemd/"&gt;https://docs.docker.com/engine/admin/systemd/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2016 01:44:38 GMT</pubDate>
    <dc:creator>myoung</dc:creator>
    <dc:date>2016-11-10T01:44:38Z</dc:date>
    <item>
      <title>Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169547#M41766</link>
      <description>&lt;P&gt;Great that docker is supported with HDP &lt;/P&gt;&lt;P&gt;When I import the docker hdp 2.5 tar file the command, will never stop&lt;/P&gt;&lt;P&gt;$ docker load &amp;lt; HDP_2.5_docker.tar.gz &lt;/P&gt;&lt;P&gt;I hear my Macbook is running, but this proces is very slow &lt;/P&gt;&lt;P&gt;Maybe it takes some time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; (the import in Virtualbox is much faster)&lt;/P&gt;&lt;P&gt;I use Docker version 1.12 &lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;Maikel&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 14:39:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169547#M41766</guid>
      <dc:creator>malderhout</dc:creator>
      <dc:date>2016-09-26T14:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169548#M41767</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13305/malderhout.html" nodeid="13305"&gt;@Maikel  Alderhout&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The docker load command does take some time as the docker file is ~14GB in size.  However, it looks like you are trying to load the tar.gz file from your example above.  Before running the docker load command, you must first gunzip the HDP_2.5_docker.tar.gz file.&lt;/P&gt;&lt;PRE&gt;$ gunzip HDP_2.5_docker.tar.gz
$ docker load &amp;lt; HDP_2.5_docker.tar&lt;/PRE&gt;</description>
      <pubDate>Sat, 01 Oct 2016 20:12:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169548#M41767</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-10-01T20:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169549#M41768</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;P&gt;Hi Michel, &lt;/P&gt;&lt;P&gt;while doing docker load, it ran out of space&lt;/P&gt;&lt;P&gt;Is it possible to tell it load and use a specific location? Also how can I clean the half loaded image.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;&lt;P&gt;b1b065555b8a: Loading layer 202.2 MB/202.2 MB &lt;/P&gt;&lt;P&gt;0b547722f59f: Loading layer 10.36 GB/13.84 GB &lt;/P&gt;&lt;P&gt;ApplyLayer exit status 1 stdout:  stderr: write /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64/jre/lib/rt.jar: no space left on device&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 20:23:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169549#M41768</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-10-25T20:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169550#M41769</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11016/avijeetd.html" nodeid="11016"&gt;@Avijeet Dash&lt;/A&gt; &lt;/P&gt;&lt;P&gt;When you run the &lt;STRONG&gt;docker load&lt;/STRONG&gt; command, it's copying the container image to the virtual machine that Docker uses to run the containers.  You can't change the location of where those images are stored that I know of.&lt;/P&gt;&lt;P&gt;You can run &lt;STRONG&gt;docker images&lt;/STRONG&gt; to see a list of images that have been loaded.  You may see something like this:&lt;/P&gt;&lt;PRE&gt;$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
sandbox             latest              09252f3bc286        2 weeks ago         13.84 GB
elasticsearch       latest              22287ab1f811        3 weeks ago         342.8 MB
kibana              latest              67c20a93c5bc        4 weeks ago         297 MB
alpine              edge                e4c65b272e02        4 weeks ago         4.824 MB
&amp;lt;none&amp;gt;              &amp;lt;none&amp;gt;              fc813bdc4bdd        4 weeks ago         14.57 GB
hdp/postgres        latest              26e6495659e4        5 weeks ago         310.9 MB
centos              6                   f07f6ca555a5        6 weeks ago         194.6 MB
postgres            latest              6f86882e145d        7 weeks ago         265.9 MB

&lt;/PRE&gt;&lt;P&gt;You can delete any images that you don't need with &lt;STRONG&gt;docker rmi&lt;/STRONG&gt; &lt;STRONG&gt;&amp;lt;image id&amp;gt;&lt;/STRONG&gt;.  You can also use &lt;STRONG&gt;docker ps -a&lt;/STRONG&gt; to see a list of containers that are lying around.  You may see something like this:&lt;/P&gt;&lt;PRE&gt; docker ps -a
CONTAINER ID        IMAGE               COMMAND               CREATED             STATUS                     PORTS               NAMES
15411dc968ad        fc813bdc4bdd        "/usr/sbin/sshd -D"   2 weeks ago         Exited (255) 3 hours ago                       hdp25-atlas-demo

&lt;/PRE&gt;&lt;P&gt;If you have a lot of containers sitting around, they do take up space.  You can remove any containers you don't need by using &lt;STRONG&gt;docker rm &amp;lt;container id&amp;gt;&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 01:56:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169550#M41769</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-10-26T01:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169551#M41770</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I don't have any other images, this is the only image i was trying to load&lt;/P&gt;&lt;P&gt;I have a azure centos vm, which root directory / has only 30GB&lt;/P&gt;&lt;P&gt;I have another directory with has 500Gb&lt;/P&gt;&lt;P&gt;but wondering how to tell docker to use that directory &lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 12:12:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169551#M41770</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-10-26T12:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169552#M41771</link>
      <description>&lt;P&gt;Hi  &lt;A rel="user" href="https://community.cloudera.com/users/11016/avijeetd.html" nodeid="11016"&gt;@Avijeet Dash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you solve the problem ?
Now, I'm facing the same problem.&lt;/P&gt;&lt;P&gt;I have a aws vm. (m4.xlarge: centos7)&lt;/P&gt;&lt;P&gt;I don't have any docker image.&lt;/P&gt;&lt;PRE&gt;$ sudo docker info
Containers: 0
Running: 0 
Paused: 0 
Stopped: 0
Images: 0
Server Version: 1.12.3
Storage Driver: devicemapper
 Pool Name: docker-202:80-17039361-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 11.8 MB
 Data Space Total: 107.4 GB
 Data Space Available: 107.4 GB
 Metadata Space Used: 581.6 kB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.147 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /docker-image/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /docker-image/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null overlay host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.36.3.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.389 GiB
Name: ip-xxx-xx-xx-xx.ap-northeast-1.compute.internal
ID: xxx:xxx:xxx
Docker Root Dir: /docker-image
Debug Mode (client): false
Debug Mode (server): false
Registry: &amp;lt;a href="https://index.docker.io/v1/"&amp;gt;https://index.docker.io/v1/
&amp;lt;/a&amp;gt;WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
 127.0.0.0/8&lt;/PRE&gt;&lt;P&gt;I changed the image location from "/var/lib/docker" to "/docker-image".&lt;/P&gt;&lt;P&gt;"/docker-image" is a separate  disk from "/var/lib/docker". &lt;/P&gt;&lt;P&gt;However, I can't docker load, it ran out of space. &lt;/P&gt;&lt;P&gt;Please, tell me the next actions to solve it. &lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 18:38:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169552#M41771</guid>
      <dc:creator>maruykr1981</dc:creator>
      <dc:date>2016-11-09T18:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169553#M41772</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14088/maruykr1981.html" nodeid="14088"&gt;@Atsushi Marumo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have written an article guiding you through the process with CentOS 7.  This is the preferred way to do this: &lt;A href="https://community.hortonworks.com/content/kbentry/65714/how-to-modify-the-default-docker-configuration-on.html"&gt;https://community.hortonworks.com/content/kbentry/65714/how-to-modify-the-default-docker-configuration-on.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can read more about CentOS 7 and Docker image location here: &lt;A target="_blank" href="https://docs.docker.com/engine/admin/systemd/"&gt;https://docs.docker.com/engine/admin/systemd/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 01:44:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169553#M41772</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-11-10T01:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Docker hdp 2.5 import is very slow</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169554#M41773</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you, I have solved the problem by your answer. &lt;/P&gt;&lt;P&gt;The cause of the problem, seems to be that "dm.basesize" is smaller.&lt;/P&gt;&lt;P&gt;I didn't change the image location and the storage-driver.&lt;/P&gt;&lt;P&gt;I was only change the "dm.basesize".&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 00:45:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-hdp-2-5-import-is-very-slow/m-p/169554#M41773</guid>
      <dc:creator>maruykr1981</dc:creator>
      <dc:date>2016-11-11T00:45:29Z</dc:date>
    </item>
  </channel>
</rss>

