Update your private probe in Docker
Before you make any changes, you can recover your current configuration from the running container:
-
Run
docker psand identify the container that is runningsolarwinds/synthetics-private-probe. -
Run
docker inspect CONTAINER_IDand review theEnvsection to see the values forSYNTHETICS_COLLECTOR_URL,API_TOKEN,LOCAL_ID,NAME, andLOG_LEVEL.
How is Docker upgraded?
A typical Docker upgrade goes as follows.
-
Execute the
docker pscommand to find the running private probe container.docker ps -
Stop and remove the private probe container.
docker stop CONTAINER_IDdocker rm CONTAINER_ID
-
Pull the new image.
docker pull solarwinds/synthetics-private-probe:latest
-
Start a new container using the same environment variables and the same LOCAL_ID as before.
Update your Configuration file
-
If you started the probe using environment variables, stop the existing container and start a new one with updated docker run parameters.
-
If you use a configuration file, edit the YAML file and restart the container so it picks up changes.
To keep the same probe identity and checks, do not change LOCAL_ID. Using the same LOCAL_ID tells SolarWinds Observability that this is the same probe instance, just redeployed.
Pull a newer image (recommended)
-
Execute the following command in Docker to pull a newer Docker image.
docker pull solarwinds/synthetics-private-probe:latest
-
Restart the container using the new image tag (
:latestor a specific version).If you need to pin to a specific version or roll back later, you can use a tagged image likesolarwinds/synthetics-private-probe:v1.0.2instead of:latest.