Last active
August 23, 2020 03:31
-
-
Save PlagueHO/3bab648221f7189d9af56bd2155c964b to your computer and use it in GitHub Desktop.
Shell command to enable sending container telemetry to an Azure Monitor Log Analytics workspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run --privileged -d -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/containers:/var/lib/docker/containers -e WSID="<YOUR WORKSPACE ID>" -e KEY="<YOUR WORKSPACE KEY>" -h=`hostname` -p 127.0.0.1:25225:25225 --name="omsagent" --restart=always microsoft/oms:1.8.1-256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment