To install the Docker, do the following:

  1. Execute the command in the root mode.

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


  2. Add CPG key and fingerprints.

    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
    sudo apt-key fingerprint 0EBFCD88


  3. . Add the official repository to the source.list.

    sudo add-apt-repository \
       "deb [arch=amd64] https://download.docker.com/linux/debian \
       $(lsb_release -cs) \
       stable"
     
    sudo apt-get update


  4. Install the Docker-ce and docker-compose (see https://github.com/docker/compose/releases).


    sudo apt-get install docker-ce docker-compose


  5. Add the system user to the docker group.

    sudo adduser user docker


  6. Log in the system under this user.

  7. Install Mercurial.

    sudo apt-get install mercurial


  8. Add string to the hgrc file.

    sudo nano ~/.hgrc
    


    [ui]
    tls = False


  9. Clone the repository.

    hg clone https://bitbucket.org/Axxonsoft/axxonone.docker /home/user/axxonone.docker

    Update the repository, if necessary.

    cd axxonone.docker
    hg pull -u