Skip to content

Aprenda a construir, utilizar e orquestrar contêineres com Docker, Docker Compose, Swarm e Kubernetes

License

Notifications You must be signed in to change notification settings

thiago-rezende/docker4noobs

Repository files navigation


Logo

Docker 4 Noobs

Guia completo de Docker, Docker Compose, Swarm e Kubernetes
Este curso ainda está sendo desenvolvido.
Explore o Projeto »

Informe um Bug · Solicite uma Feature

Índice

Sobre o projeto

Este curso tem como objetivo trazer conhecimentos do básico ao avançado sobre Docker, Docker Compose, Swarm e Kubernetes.

No decorrer deste projeto, você encontrará exemplos de código e comandos em todas as seções e tópicos para três sistemas operacionais, sendo eles:

Começando

Em suma, não existem pré-requisitos que o impedem de fazer este curso, mas listarei alguns que o ajudarão no processo de aprendizagem.

Pré-requisitos

  • Checimento básico em sistemas baseados em Linux.
  • Checimento básico sobre controle de versão de código com Git.
  • NodeJS.
  • Yarn.
  • Git.

Instalação

NodeJS

  # Ubuntu/Debian
  apt-get install nodejs
  # Arch
  pacman -S nodejs
  # CentOS
  yum install nodejs

Yarn

  # Ubuntu/Debian
  apt-get install yarn
  # Arch
  pacman -S yarn
  # CentOS
  curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
  rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg
  yum install yarn

Git

  # Ubuntu/Debian
  apt-get install git
  # Arch
  pacman -S git
  # CentOS
  yum install git

Como Usar

Para usar este curso, você tem três opções:

  • Utiliziando o deploy feito no GitHub Pages Docker 4 Noobs.
  • Acompanhando os arquivos dentro da pasta docs.
  • Construindo o projeto por conta própria.

Construindo o Projeto

Depois de instalar todas as dependências, basta executar estes comandos:

  # Clone o repositório
  git clone https://github.com/thiago-rezende/docker4noobs.git
  # Entre no diretório do projeto
  cd docker4noobs
  # Instale as dependências
  yarn
  # Inicie o servidor de desenvolvimento [localhost:8080]
  yarn docs:dev

Caso você queira fazer o deploy em seu próprio servidor, execute estes comandos:

  # Depois disso, os arquivos estáticos estarão em docs/.vuepress/dist
  yarn docs:build

Roteiro

Um pequeno índice das seções e tópicos que já foram feitos no curso.

Contribuindo

Contribuições são o que tornam a comunidade de código aberto um lugar incrível para aprender, inspirar e criar. Todas as contribuições que você fizer são muito apreciadas.

  1. Crie um Fork o Projeto
  2. Crie uma Branch para sua feature (git checkout -b feature/amazing-feature)
  3. Faça o Commit de suas mudanças (git commit -m 'feat: added my amazing feature')
  4. Faça o Push para o GitHub (git push origin feature/amazing-feature)
  5. Faça o Pull Request e aguarde a aprovação

Licença

MIT License

Copyright (c) 2020 Thiago Rezende

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to > deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in > all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN > THE SOFTWARE.

Contato

Thiago Rezende (Horus) - @HorusHe4rt - horus.he4rt@gmail.com

Link do projeto: https://thiago-rezende.github.io/docker4noobs/

Link do repositório: https://github.com/thiago-rezende/docker4noobs

Made with 💜