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

Key

  • 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 https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

    Add the Docker repository to APT sources:

    $ sudo add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(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 https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`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.

...