title: Downgrading Docker from 19.03.2 to 18.09.9 on CentOS 7
body: <p>I've been trying to downgrade docker from 19.03.2 to 18.09.9 on CentOS 7. I installed it via yum. </p>
  
  <p>This is what I've tried so far.</p>
  
  <p>Only a single version available returned. </p>
  
  <pre><code>$ yum list docker-ce.x86_64 --showduplicates | sort -r 
   * updates: centos4.zswap.net
   Loading mirror speeds from cached hostfile
   Loaded plugins: fastestmirror
   Installed Packages
   * extras: mirrors.usinternet.com
   * epel: d2lzkl7pfhq30w.cloudfront.net
   docker-ce.x86_64   3:19.03.2-3.el7 .  @docker-ce-stable
   * base: centos4.zswap.net
  </code></pre>
  
  <p>No luck on this, duh!</p>
  
  <pre><code>$ yum downgrade docker-ce.x86_64 3:18.09.9-3.el7
  </code></pre>
  
  <p>Tried to downgrade it with downloaded rpm packages. No luck either.   </p>
  
  <pre><code>$ yum downgrade file docker-ce-cli-18.09.9-3.el7.x86_64.rpm 
  $ yum downgrade file docker-ce-18.09.9-3.el7.x86_64.rpm 
  </code></pre>
  
  <p>Finally, the docker engine command ran successfully, but now there are two different versions, APIs are the same though.</p>
  
  <pre><code>$ docker engine update --version 18.09.9 
  </code></pre>
  
  <p>Two different docker versions.</p>
  
  <pre><code>$ docker version
  Client: Docker Engine - Community
   Version:           19.03.2
   API version:       1.39 (downgraded from 1.40)
   Go version:        go1.12.8
   Git commit:        6a30dfc
   Built:             Thu Aug 29 05:28:55 2019
   OS/Arch:           linux/amd64
   Experimental:      false
  
  Server: Docker Engine - Community
   Engine:
   Version:          18.09.9
   API version:      1.39 (minimum version 1.12)
   Go version:       go1.11.13
   Git commit:       039a7df
   Built:            Wed Sep  4 16:22:32 2019
   OS/Arch:          linux/amd64
   Experimental:     false
  </code></pre>
  
  <p>How do I downgrade the client now?</p>