Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 1.2 KB

REQUIREMENTS.md

File metadata and controls

55 lines (49 loc) · 1.2 KB

Requirements

1) docker-ce

  • Install docker requirements:
    $ sudo apt-get update
    $ sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
        software-properties-common
    $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    $ sudo add-apt-repository \
      "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
      $(lsb_release -cs) \
      stable"
  • Install docker-ce:
    $ sudo apt-get update
    $ sudo apt-get install docker-ce
  • Enable execution without root (restart your user session to work):
    $ sudo usermod -aG docker $USER
  • Test it:
    $ docker run hello-world

2) docker-compose

  • Install docker-compose:
    $ sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
    $ sudo chmod +x /usr/local/bin/docker-compose
  • Test it:
    $ docker-compose --version

3) Git

  • Install Git:
    $ sudo apt-get install git
  • Basic config of git:
    $ git config --global user.name "John Doe"
    $ git config --global user.email [email protected]