Skip to content

Instantly share code, notes, and snippets.

View Robson-pds's full-sized avatar

Robson Pereira Da Silva Robson-pds

View GitHub Profile
@Robson-pds
Robson-pds / git.md
Created April 1, 2024 12:09 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@Robson-pds
Robson-pds / docker-nfs-volumes.md
Created April 7, 2022 15:00 — forked from ruanbekker/docker-nfs-volumes.md
NFS Volumes with Docker Swarm

Create NFS Volumes:

Creating the NFS Volume:

$ docker volume create --driver local \
  --opt type=nfs \
  --opt o=addr=192.168.1.115,uid=1000,gid=1000,rw \
  --opt device=:/mnt/volumes/mysql-test \
  mysql-test-1