Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 1.28 KB

REQUIREMENTS_pt.md

File metadata and controls

55 lines (49 loc) · 1.28 KB

Pre-requisitos

1) docker-ce

  • Instalar pré-requisitos do docker:
    $ 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"
  • Instalar o docker-ce:
    $ sudo apt-get update
    $ sudo apt-get install docker-ce
  • Habilitar execução sem root (reinicie a sessão do seu usuarío para que funcione):
    $ sudo usermod -aG docker $USER
  • Testar instalação:
    $ docker run hello-world

2) docker-compose

  • Instalar o 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
  • Testar a instalação:
    $ docker-compose --version

3) Git

  • Instalar o Git:
    $ sudo apt-get install git
  • Configuração básica do git:
    $ git config --global user.name "Fulano Ciclano de Tal"
    $ git config --global user.email [email protected]