title: Why "https://get.docker.com/ubuntu" is a apt repository?
body: <p>Today I <strong>upgraded</strong> docker successfully, following instructions from: <a href="https://askubuntu.com/questions/472412/how-do-i-upgrade-docker">https://askubuntu.com/questions/472412/how-do-i-upgrade-docker</a> . </p>
  
  <p>However, when I opened the repository url <a href="https://get.docker.com/ubuntu/" rel="nofollow noreferrer">https://get.docker.com/ubuntu/</a> in my browser, it is just a text page, which contains a list of <code>bash commands</code>. </p>
  
  <p>My question is : </p>
  
  <ul>
  <li><p>How apt works with this text page url? </p></li>
  <li><p>Does apt simply run the bash commands? </p></li>
  <li><p>If so, why is there a same 
  command:</p></li>
  </ul>
  
  <p>"<code>echo deb https://get.docker.com/ubuntu docker main &gt; /etc/apt/sources.list.d/docker.list</code>"</p>
  
  <p>as that in 
      <a href="https://askubuntu.com/questions/472412/how-do-i-upgrade-docker">https://askubuntu.com/questions/472412/how-do-i-upgrade-docker</a></p>