<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Images on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/images/</link>
        <description>Recent content in Images on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Tue, 06 Dec 2016 15:00:41 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/images/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>[Docker] Backup / Restore Images</title>
            <link>https://www.nico-maas.de/posts/2016-12-06-docker-backup-restore-images/</link>
            <pubDate>Tue, 06 Dec 2016 15:00:41 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2016-12-06-docker-backup-restore-images/</guid>
            <description>&lt;p&gt;Images should be a kind of &amp;ldquo;throw-away&amp;rdquo; format: You got your Dockerfile, and as soon as you need to run a specific container, you should just built it from scratch: All the latest security updates, software versions - great. However, sometimes you got a bit of specialized stuff which you want to backup for later use.&lt;/p&gt;&#xA;&lt;p&gt;I found a good answer to that topic: &lt;a class=&#34;link&#34; href=&#34;https://stackoverflow.com/questions/26707542/how-to-backup-restore-docker-image-for-deployment&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://stackoverflow.com/questions/26707542/how-to-backup-restore-docker-image-for-deployment&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Backup:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;docker save myusername/myproject:latest | gzip -c &amp;gt; myproject_img_bak20141103.tgz&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Restore:&lt;/p&gt;</description>
        </item><item>
            <title>Shrink VMware Image Files on Linux Appliances</title>
            <link>https://www.nico-maas.de/posts/2009-07-16-shrink-vmware-image-files-on-linux-appliances/</link>
            <pubDate>Thu, 16 Jul 2009 13:35:19 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2009-07-16-shrink-vmware-image-files-on-linux-appliances/</guid>
            <description>&lt;p&gt;Works only with dynamic HDDs!&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Backup!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Remove old / unused Packages&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Remove downloaded Packages: sudo apt-get clean, Remove only old downloaded Packages: sudo apt-get autoclean&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&amp;ldquo;ZeroOut&amp;rdquo; unused Space: cat /dev/zero &amp;gt; zero.dat ; sync ; sleep 1 ; sync ; rm zero.dat&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Under GUI: &amp;ldquo;sudo vmware-toolbox&amp;rdquo; and use shrink on &amp;ldquo;/&amp;rdquo;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Under VIClient: Defrag&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
        </item></channel>
</rss>
