Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 873 Bytes

usage.md

File metadata and controls

34 lines (23 loc) · 873 Bytes

Use this image

Docker Compose

Docker compose is the recommended way to run this image. Copy the content of folder examples/compose in /var/librenms/ on your host for example. Edit the compose and env files with your preferences and run the following commands:

docker-compose up -d
docker-compose logs -f

Command line

You can also use the following minimal command :

docker run -d -p 8000:8000 --name librenms \
  -v $(pwd)/data:/data \
  -e "DB_HOST=db" \
  librenms/librenms:latest

-e "DB_HOST=db"
⚠️ db must be a running MySQL instance

First launch

On first launch, an initial administrator user will be created:

Login Password
librenms librenms

You can create another one using the lnms command.