Skip to content

Instantly share code, notes, and snippets.

View herculeshssj's full-sized avatar

Hércules S. S. José herculeshssj

View GitHub Profile
@herculeshssj
herculeshssj / docker-commands.md
Last active October 15, 2022 13:34
Docker commands

Comandos para criação de container Docker

NGINX

docker run --name nginx-container -p 80:80 -p 443:443 --restart=always -v /mnt/data/config/nginx.conf:/etc/nginx/nginx.conf:ro -v /mnt/data/config/nginx-config:/etc/nginx/conf.d:ro -d nginx

Usando docker volumes: