<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Potato</title>
    <description>The latest articles on DEV Community by Potato (@mashed_potato).</description>
    <link>https://dev.to/mashed_potato</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2601843%2Fa8dd239a-28dd-4250-930f-e9952cceb1fa.jpg</url>
      <title>DEV Community: Potato</title>
      <link>https://dev.to/mashed_potato</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mashed_potato"/>
    <language>en</language>
    <item>
      <title>Docker Does Not Recognize Container Files</title>
      <dc:creator>Potato</dc:creator>
      <pubDate>Sun, 22 Dec 2024 11:45:36 +0000</pubDate>
      <link>https://dev.to/mashed_potato/docker-does-not-recognize-container-files-3n5i</link>
      <guid>https://dev.to/mashed_potato/docker-does-not-recognize-container-files-3n5i</guid>
      <description>&lt;p&gt;I had a VM run in &lt;strong&gt;Sangfor HCI&lt;/strong&gt; ( uses openstack I think ). Inside it , docker was running 2 containers. the containers were run using docker-compose. I turned the machine off and exported it to an OVA file. I converted the OVA file to OVF ( vmdk ) and imported it in &lt;strong&gt;VMware vCenter&lt;/strong&gt;. Now that I have the machine back up again, when I run these commands the output shows nothing :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker ps -a
docker ps -a -q
docker image ls
docker images
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I have no idea what has happened. the files of the containers are still in &lt;em&gt;/var/lib/docker/containers&lt;/em&gt; and the files of images are still in &lt;em&gt;/var/lib/docker/image&lt;/em&gt; but these commands show nothing.I checked the storage driver of docker and it is still &lt;em&gt;overlay2&lt;/em&gt; and hasn't changed.&lt;/p&gt;

&lt;p&gt;I tried backing up the whole &lt;em&gt;/var/lib/docker&lt;/em&gt; folder and letting docker rebuild it and then copying my files from the backup folder into it again but still the commands show no output. i did the same thing for &lt;em&gt;/var/lib/docker/image&lt;/em&gt; and &lt;em&gt;/var/lib/docker/containers&lt;/em&gt; Still no result.&lt;/p&gt;

&lt;p&gt;I also changed the ownership of all files in &lt;em&gt;/var/lib/docker&lt;/em&gt; to the user : &lt;strong&gt;docker&lt;/strong&gt; And changed their permissions to &lt;strong&gt;755&lt;/strong&gt;. Still doesn't work.&lt;/p&gt;

&lt;p&gt;I checked the status of the &lt;em&gt;docker.servie&lt;/em&gt; service and it shows 2 errors in it's logs.&lt;/p&gt;

&lt;p&gt;These are the errors :&lt;/p&gt;

&lt;p&gt;Dec 22 14:16:30 snipe-it dockerd[9638]: time="2024-12-22T14:16:30.541799894+03:30" level=error msg="failed to load container mount" container=076e5c1c57a579ed81ea40abbc6f94dfb0a0575a36c7e02c5f61871d2bda26a0 error="mount does not exist"&lt;/p&gt;

&lt;p&gt;Dec 22 14:16:30 snipe-it dockerd[9638]: time="2024-12-22T14:16:30.541894861+03:30" level=error msg="failed to load container mount" container=3b5c5b19c60d36dbc281ad3933d7a1f48fd92a7ca8389d90bcc039bc3f16000e error="mount does not exist"&lt;/p&gt;

&lt;p&gt;I would appreciate your help with this.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
