This section details the hardware and software requirements for installing Data Manager.
Machines Involved: VM in the Cloud or On-Prem Box or Laptop
Operating Systems: Windows (Windows 10) or Linux (Ubuntu/CentOS/RedHat)
Computing Engines: CPU
If you install the product on a VM in the cloud, the following operating systems are supported:
If you install the product on a machine in an on-premises data center, the following operating systems are supported:
See the official Docker website for the list of Windows operating systems supported.
On Windows, your machine requires virtualization enabled. We strongly recommend this be done only on physical machines like laptops or desktop workstations. We do not support running on Docker on Windows in Virtual Machines (Cloud or Datacenter) using Nested Virtualization.
(Optional) Data Manager needs access to AI Center on-premises or to public SaaS endpoints like https://du.uipath.com/ie/invoices in case Prelabelling is needed.
Data Manager needs access to OCR engine
<IP>:<port_number>. OCR engine might be UiPath Document OCR on-premises, Omnipage OCR on-premises, Google Cloud Vision OCR, Microsoft Read Azure, Microsoft Read on-premises.
Data Manager is a containerized application that runs on top of docker. You cannot run it on the same machine as AI Center on premises. In order to run it on a separate machine you only need to have Docker installed (on Linux) or Docker Desktop installed (on Windows).
Docker images can have many GB in size, so the folder Docker uses to hold its files on Linux must be on a partition sufficiently large to not run out of space. By default, it is always on the root partition.
To see how large your root partition is, type the following in the terminal, and look for the line with a
/ in the rightmost column:
If the size of that partition is smaller than the minimal storage requirements, then see the Configuring the Docker Data Folder section.
Follow instructions in the official Docker documentation, or run this command:
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/du_prereq_installer.sh | sudo bash -s -- --env cpu
If this command fails, then you have an incompatible Linux operating system and you need to request your IT to install Docker on the machine following the instructions in the official Docker documentation.
If you are installing on a VM in Azure, then use this command instead:
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/du_prereq_installer.sh | sudo bash -s -- --env cpu --cloud azure
Download and install Docker Desktop. On recently updated versions of Windows 10, you will need WSL2 installed. So when presented with a dialog saying "WSL 2 Installation is Incomplete" please click the Restart button.
When running Data Manager you need to create a working folder for each Docker container (perhaps named
workdir for Data Manager) and include the path to it in the docker run command, after the
-v flag. When doing this on Windows, Docker Desktop will pop up a notification like the one below. You need to click on Share it to proceed.
Fill in the path to the folder where you want Docker to hold its files, then run this command and then reboot:
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/du_prereq_installer.sh | sudo bash -s -- --change-mount </path/to/folder>
Docker helps ship software in Docker “images. A running instance of an image is called a container. A container can be stopped, removed, started again, as many times as needed, as long as the image is available.
Once the image is removed, it is lost. The only way to recover it is to pull it again from the registry it came from if it is still available there.
A running container is analogous to a small Virtual Machine, in that it has an internal filesystem and network interfaces, which are separate from the host machine filesystem and network. Folders and ports can be mapped from the container to the host using
–p arguments, respectively.
In the table below you can find a list of common commands for the Docker command line.
Click here for the full list of base Docker commands.
Log in to a registry.
Download an image from a registry. The tag latest is commonly used to refer to the latest version of an image.
"`docker run –d -p 5000:80 /:
docker run –d –p 5000:80
Run a container in detached mode, while mapping port 80 from inside the container to port 5000 on the host machine, and to . Detached mode means the container does not block the terminal, so you can perform other operations on the same terminal.
List images present on your system.
List all containers (both running and stopped).
Stop the container
Remove the container
Display the logs of the container
Remove one or more images from the system.
Remove all stopped containers
Run a command as administrator. Try this whenever you get a Permission Denied error.
Display information about the network interfaces in your system. Find the IP of your machine in the eth0 or docker0 sections.
Display the path to the current folder.
List the content of a directory.
Go to a different folder.
Create a new folder.
Make sure you have the registry credentials handy. If you have not received the registry credentials, you need to contact your Sales representative and request a set of credentials be generated for you.
Then type the following in a Powershell or Command Line terminal (on Windows) or shell terminal (on Linux):
docker login aiflprodweacr.azurecr.io -u <username> -p <password>
docker pull aiflprodweacr.azurecr.io/datamanager:latest
Running on the same machine as AI Center
Data Manager standalone container cannot run on the same machine as AI Center.
To launch Data Manager, use the following command:
docker run -d -p <port_number>:80 -v "<path_to_working_folder>:/app/data" aiflprodweacr.azurecr.io/datamanager:latest --license-agreement accept
Replace <port_number> with the port number where you want the Data Manager to be accessible. Ports in the thousands are common, like 5000, 8000, 8080, 8081, etc. Replace the <path_to_working_folder> with the local folder where you want Data Manager to keep all its internal configuration and data. Make sure that docker service has access to that folder.
After running this command, open a web browser and enter the following URL:
If you are using the browser on a different machine, replace
localhost with the IP address of the machine where the datamanager container is running.
To run multiple Data Manager sessions, change the folder path and run the command again.
If an ML Skill deployed in AI Center on-premises does not use a valid HTTPS certificate, you can use a Command Line option to whitelist the root of your self-signed certificate.
The certificate needs to be in a PEM format. As long as this requirement is met, the file extension is insignificant.
The certificate has to exist inside the docker container, so it has to be mounted. Hence, mount the cert file inside the container using the -v and then specify the path to it:
docker run -d -p <port_number>:80 -v "<path_to_working_folder>:/app/data" -v "<path_to_certificate_file>":/custom.cer aiflprodweacr.azurecr.io/datamanager:latest --license-agreement accept --custom-root-cert="/custom.cer"
path_to_certificate_filedoes not support symlinks.
The root of the self-signed certificate, in this case
custom.cer, has to be the same in the first argument as well as in the second. If one is changed, the other needs to be changed too.
If you need to set up Data Manager on a machine with no internet access (airgapped), you need to run the above commands on some other machine that does have internet access.
Then you need to save the container as a .tar file, copy the file over to the airgapped machine, and then load it. This is done using the docker save and docker load commands described in Docker documentation.
So on the machine connected to the internet, you need to first install Docker, then, after running the docker login and docker pull commands above, you need to run the command
docker save -o datamanager-latest.tar aiflprodweacr.azurecr.io/datamanager:latest
Then you need to copy the .tar file to the airgapped machine, and then run this command in the same folder where the .tar file was saved:
docker load --input datamanager-latest.tar
Be aware that the tar file will be large, it will have a few gigabytes.
Updated 5 days ago