<?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: Pablo Thasi </title>
    <description>The latest articles on DEV Community by Pablo Thasi  (@thasipablo).</description>
    <link>https://dev.to/thasipablo</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F978525%2F11940b34-76d4-4ee3-9b9e-656885abc6ef.jpeg</url>
      <title>DEV Community: Pablo Thasi </title>
      <link>https://dev.to/thasipablo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thasipablo"/>
    <language>en</language>
    <item>
      <title>Docker pull credentials error</title>
      <dc:creator>Pablo Thasi </dc:creator>
      <pubDate>Tue, 03 Jan 2023 23:58:47 +0000</pubDate>
      <link>https://dev.to/thasipablo/docker-pull-credentials-error-1j5l</link>
      <guid>https://dev.to/thasipablo/docker-pull-credentials-error-1j5l</guid>
      <description>&lt;p&gt;Hello! I hope you are doing well.&lt;/p&gt;

&lt;p&gt;I want to tell you a little story about an error that I encountered a while ago with Docker Hub. I was trying to pull from Docker Hub and, to my surprise, an error appeared 😡 saying that my credentials were incorrect.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker: Error response from daemon: Get https://&amp;lt;&amp;lt;image link&amp;gt;&amp;gt;: unauthorized: incorrect username or password. See 'docker run --help'.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I wondered what had caused this error. It took me over 15 minutes of struggle before I found the solution. It was actually quite simple once I found it - I just needed to Google the error log and follow the instructions that I found. Here's the solution that worked for me:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker logout
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enter your credentials and the problem is solved 😀.&lt;/p&gt;

&lt;p&gt;But the most interesting part of this story is understanding the cause of the error. I believe that every programmer should do the same - that way, you won't lose time if a similar situation arises again.&lt;/p&gt;

&lt;p&gt;For me, the problem was that I had changed my password a few days earlier, but the old credentials were still in the cache. The &lt;code&gt;docker logout&lt;/code&gt; command deletes old credentials, which solved the problem for me.&lt;/p&gt;

&lt;p&gt;Isn't that interesting? Until next time 👋.&lt;/p&gt;

</description>
      <category>emptystring</category>
    </item>
  </channel>
</rss>
