Password Reset
DockLog stores credentials only in your local SQLite file. Use the built-in reset-password command instead of opening the database with sqlite3 while the app is running.
Host terminal required
You need shell access on the Docker host. The new password must be at least 8 characters. Existing JWT sessions are invalidated automatically.
Interactive CLI Autocomplete Sandbox
Press TAB to complete# Start typing commands like `docker ps` or `docker compose` to try the auto-suggestion.
$
Try typing
docker ps and hit the TAB key to autocomplete instantly.Built-in reset command
bash
docker exec docklog docklog reset-password admin 'YourNewPassword123'Uses the same DB_PATH as the running service. On first login after reset, DockLog prompts for a password change.
If the database is locked
bash
docker compose stop docklog
docker compose run --rm \
-e DB_PATHDB_PATH: SQLite database storage file path for users and audit records.=/app/data/docklog.db \
docklog docklog reset-password admin 'YourNewPassword123'
docker compose start docklogRe-seed the database
If you do not need existing users or audit history, stop the container, delete ./data/docklog.db, and start again. DockLog seeds admin / admin123 on first boot.
Edit or suggest changes on GitHub.