Automatic updates for all Docker containers

The portnox-autoupdate Docker container automatically updates all other Portnox Docker containers to their latest versions, as soon as they are available (with nightly checks). This includes the following containers:

Note: For portnox-autoupdate to work, your firewall must allow communication with the following IP addresses: 20.15.0.121 and 98.71.112.122 on port 443 TCP.
  1. Note down the organization ID:
    1. In Portnox Cloud, go to Settings > Services > General Settings > Self Onboarding.
    2. In the Self Onboarding section, see the URL that is displayed.
      Note: If self-onboarding is not activated, click on the Edit link and temporarily turn it on to see the URL.

      The organization ID is the last part of the URL, after the last / symbol.

      For example, if the URL is https://user-registration.portnox.com/b2973887-1274-45c4-91d0-4a342a861c76, then the organization ID is b2973887-1274-45c4-91d0-4a342a861c76.

  2. Get an API token from Portnox Cloud:
    1. In Portnox Cloud, go to Settings > Profile Settings > Clear API tokens
    2. Click on the Generate token link.
    3. In the Generate a new token window, enter the name for the token that describes its purpose and click on the Generate token button.
    4. Click on the  ⧉  button to copy the code and store it in a safe place.

      Important: You will not be able to access this code again after closing this window.
  3. Deploy the portnox-autoupdate Docker container:
    • On Linux:

      sudo docker run --restart=always -d --name portnox-autoupdate \
        -v /var/run/docker.sock:/var/run/docker.sock \
        -v portnox-autoupdate-logs:/app/logs \
        -e AUTO_UPDATE_ORG_ID=your_organization_ID \
        -e AUTO_UPDATE_PORTNOX_API_TOKEN=your_API_access_token \
        portnox/portnox-autoupdate:latest
    • On Windows:

      docker run --restart=always -d --name portnox-autoupdate ^
        -v /var/run/docker.sock:/var/run/docker.sock ^
        -v portnox-autoupdate-logs:/app/logs ^
        -e AUTO_UPDATE_ORG_ID=your_organization_ID ^
        -e AUTO_UPDATE_PORTNOX_API_TOKEN=your_API_access_token ^
        portnox/portnox-autoupdate:latest