github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/docs/getstarted/linux_install_help.md (about)

     1  <!--[metadata]>
     2  +++
     3  aliases = ["/mac/started/"]
     4  title = "Install Docker and run hello-world"
     5  description = "Getting started with Docker"
     6  keywords = ["beginner, getting started, Docker, install"]
     7  identifier = "getstart_linux_install"
     8  parent = "tutorial_getstart_menu"
     9  weight="-80"
    10  +++
    11  <![end-metadata]-->
    12  
    13  # Example: Install Docker on Ubuntu Linux
    14  
    15  This installation procedure for users who are unfamiliar with package
    16  managers, and just want to try out the Getting Started tutorial while running Docker on Linux. If you are comfortable with package managers, prefer not to use
    17  `curl`, or have problems installing and want to troubleshoot, please use our
    18  `apt` and `yum` <a href="https://docs.docker.com/engine/installation/"
    19  target="_blank">repositories instead for your installation</a>.
    20  
    21  1. Log into your Ubuntu installation as a user with `sudo` privileges.
    22  
    23  2. Verify that you have `curl` installed.
    24  
    25          $ which curl
    26  
    27      If `curl` isn't installed, install it after updating your manager:
    28  
    29          $ sudo apt-get update
    30          $ sudo apt-get install curl
    31  
    32  3. Get the latest Docker package.
    33  
    34          $ curl -fsSL https://get.docker.com/ | sh
    35  
    36      The system prompts you for your `sudo` password. Then, it downloads and
    37      installs Docker and its dependencies.
    38  
    39      >**Note**: If your company is behind a filtering proxy, you may find that the
    40      >`apt-key`
    41      >command fails for the Docker repo during installation. To work around this,
    42      >add the key directly using the following:
    43      >
    44      >       $ curl -fsSL https://get.docker.com/gpg | sudo apt-key add -