Docker
Last updated
Last updated
Configuration:
You'll need to specify the directory that SonarView should save to in your host OS, which is mapped to /userdata
in the container. This is where log files will be saved, and this is where your SonarView config will live./usr/SonarView
is used for this example.
The container needs to run in the host network (--net=host
) in order to be able to scan the network for available sonars. Device discovery can not work without host network mode.
--restart=unless-stopped
will automatically start the container on each boot.
Get started:
sudo docker run -d -v /usr/SonarView:/userdata --net=host --name=sonarview --restart=unless-stopped nicknothom/sonarview:1.11.6
After the container starts, the SonarView Web UI should be available on port 7077 of your host.