This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: capitalize key words in tittle

 Installing docker

  1. Set up the repository

    Install packages to allow apt to use a repository over HTTPS:

                  $ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common

    Add Docker’s official GPG key:

                  $ curl -fsSL | sudo apt-key add -

    Add the Docker repository to APT sources:

    $ sudo add-apt-repository  "deb [arch=amd64]  $(lsb_release -cs) stable"

    Next, update the package database with the Docker packages from the newly added repo:

                  $ sudo apt-get update

  2. Install Docker Community Edition(CE).

    Update the apt package index.

                $ sudo apt-get update

    Install the latest version of Docker CE

                $ sudo apt-get -y install docker-ce

    Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it's running:

                $ sudo systemctl status docker

  3. Verify that Docker CE is installed correctly by running the hello-world image.

                   $ sudo docker run hello-world

  4. Executing Docker without sudo


                       $ id -nG

Installing docker-compose

  1. Run this command to download the Docker Compose version 1.17:

                            $ sudo curl -L`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

  2. Apply executable permissions to the binary:

                            $ sudo chmod +x /usr/local/bin/docker-compose

  3. Test the installation.