Skip to content

Instantly share code, notes, and snippets.

View devguina's full-sized avatar

Guilherme de Souza Mizael de Morais devguina

  • Campo Belo Minas Gerais
View GitHub Profile

Types

  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
@devguina
devguina / group-docker.md
Created October 14, 2024 22:12 — forked from anderson-mota/group-docker.md
Criar grupo de usuário para o docker, para evitar usar sudo.

O Docker Daemon sempre é executado como usuário root. Para evitar de escrever "sudo" antes de todos os comandos do docker, é necessário criar um grupo docker e adicionar usuários à ele.

Crie o grupo docker.

$ sudo groupadd docker Adicione seu usuário ao grupo docker.

$ sudo usermod -aG docker $USER Será preciso deslogar e logar novamente para as modificações serem feitas.