--- title: "Platform | Installation and Upgrade Docker | N3uron KB V1.21" slug: "platform-installation-and-upgrade-docker" description: "N3uron is an Industrial Edge Platform for IIoT and DataOps that enables seamless integration between the industrial plant floor and business applications," updated: 2026-11-27T09:19:33Z published: 2026-11-27T09:19:33Z canonical: "docs.n3uron.com/platform-installation-and-upgrade-docker" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.n3uron.com/llms.txt > Use this file to discover all available pages before exploring further. # Docker **Docker** is a platform that allows users to install and run **N3uron** within a container. A container is a lightweight, self-sufficient environment that includes all the components and modules of **N3uron.** The N3uron Docker image is available on DockerHub at the following link: [https://hub.docker.com/r/n3uronhub/n3uron](https://hub.docker.com/r/n3uronhub/n3uron) > [!WARNING] > Note: > > This image does not contain the embedded MongoDB engine for Historian. Refer to the example below to launch N3uron with MongoDB. ## Basic Usage ### Launching a N3uron instance for testing To launch an ephemeral N3uron instance for testing using the [Docker CLI](https://docs.docker.com/reference/cli/docker/), run the following command: ```bash docker run -it --name n3uron -e ADMIN_PASSWORD=n3uron -p 8003:8003 n3uronhub/n3uron:v1.21.13 ``` The WebUI will now be accessible at [http://localhost:8003.](http://localhost:8003.) Log into the instance using the credentials provided as environment variables. ### Launching a N3uron instance with data persistence **Step 1:** Create Docker volumes to ensure data persistance: ```bash docker volume create n3_config docker volume create n3_data docker volume create n3_licenses docker volume create n3_log ``` **Step 2:** Run the container with the volumes mounted: ```bash docker run -d \    --name n3uron \    --hostname docker-node01 \ # Set the hostname for licensing    -e ADMIN_PASSWORD=n3uron \    -e USER_PASSWORD=n3uron \    -p 8003:8003 \ # HTTP WebUI    -v n3_config:/opt/n3uron/config \    -v n3_data:/opt/n3uron/data \    -v n3_log:/opt/n3uron/log \    -v n3_licenses:/opt/n3uron/licenses \    n3uronhub/n3uron:v1.21.13 ``` **Step 3:** Open [http://localhost:8003](http://localhost:8003/) to access the WebUI and log into the platform using the credentials provided as environment variables. ### Upgrading a N3uron container instance > [!NOTE] > Note: > > Before proceeding with an upgrade, ensure that the Support and Maintenance (S&M) of your license is active for the version you plan to install. To upgrade a running instance of N3uron follow the steps below: **Step 1 (Optional):** Create a node backup to restore the N3uron configuration if something goes wrong during the update. You can find the steps to perform a node backup in the [Backup and Restore](/v121/docs/platform-backup-and-restore) section. **Step 2 (Recommended):** Review the [release notes](https://n3uron.com/release-notes/#v1-21-18) for the target N3uron version to identify any breaking changes that might affect your current configuration. > [!NOTE] > Note: > > It is strongly recommended to apply the update in a testing environment before implementing it in the production environment. **Step 3:** Pull the desired version of N3uron from [DockerHub](https://hub.docker.com/r/n3uronhub/n3uron): ```bash docker pull n3uronhub/n3uron:vX.X.X ``` **Step 4:** Stop and remove the container (data will persist in the volumes). In this example, we assume the container is named “n3uron”: ```plaintext docker stop n3uron docker rm n3uron ``` **Step 5:** Run the command documented in the [previous section](/v121/docs/docker#launch-a-n3uron-instance-with-data-persistence) to launch a new N3uron container with the desired version. **Step 6:** Log into the WebUI to ensure everything is running correctly. If you encounter any issues during the upgrade, you can revert to the previous version of N3uron by following the same steps outlined in this section. ## Deployment with Historian This example shows how to deploy a standalone N3uron instance with a MongoDB database for the data [Historian](/v121/docs/historian) using [Docker Compose](https://docs.docker.com/compose/). **Step 1:** Create a 'compose.yaml' file with the following content: ```yaml services:  n3uron:    image: n3uronhub/n3uron:v1.21.13    hostname: docker-node01 # Set the hostname for licensing    environment:     - ADMIN_PASSWORD=n3uron     - USER_PASSWORD=n3uron    ports:     - 8003:8003 # HTTP WebUI     - 8443:8443 # HTTPS WebUI     - 3001:3001 # Inbound Links     # Add as many ports as needed.    volumes:      - config:/opt/n3uron/config      - data:/opt/n3uron/data      - licenses:/opt/n3uron/licenses      - log:/opt/n3uron/log    restart: always  mongo:    image: mongo:8    command: |      --quiet      --bind_ip 0.0.0.0      --wiredTigerCollectionBlockCompressor zstd      --setParameter diagnosticDataCollectionEnabled=false    ports:       - 27017:27017    volumes:      - mongo_data:/data/db    restart: always volumes:  config:  data:  licenses:  log:  mongo_data: ``` > [!NOTE] > Note: > > Depending on the module instances in use, you may need to add additional ports to the example file above. For instance, Web Vision may require ports 8004 and 8444 to be included. **Step 2:** Deploy the stack using the following command: ```bash docker compose up -d ``` **Step 3:** Open [http://localhost:8003](http://localhost:8003/) to access the WebUI and log into the platform using the credentials provided as environment variables. > [!NOTE] > Note: > > When configuring the Historian instance, enter the name of the service in the **Host** field. In the example above, we used “**mongo”** as the name of the service. > > ![](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/image(20).png)