Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 567 Bytes

COMMANDS.md

File metadata and controls

25 lines (17 loc) · 567 Bytes

Useful commands

Build image

docker build --rm --tag fisenkodv/monitoring:latest --file Dockerfile .

Run image

docker run --rm -d -p 5000:5000/tcp --env ConnectionStrings__Monitoring="connection_string" fisenkodv/monitoring:latest

For example:

docker run --rm -d -p 5000:5000/tcp --env ConnectionStrings__Monitoring="server=localhost;database=monitoring;uid=root;pwd=" fisenkodv/monitoring:latest

Run MariaDB in Docker

docker run --rm -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d -p 3306:3306 mariadb:10.1.26