2021-05-13 23:48:51 +00:00
---
title: Windows 10
---
2022-05-19 06:59:10 +00:00
For Windows, launching the pre-built Docker image on a Linux virtual machine is recommended (see [Deploying ClearML Server: Linux or macOS ](clearml_server_linux_mac.md )).
However, ClearML Server can be launched on Windows 10, using Docker Desktop for Windows (see the Docker [System Requirements ](https://docs.docker.com/docker-for-windows/install/#system-requirements )).
2021-05-13 23:48:51 +00:00
2022-05-19 06:59:10 +00:00
For information about upgrading ClearML Server on Windows, see [here ](upgrade_server_win.md ).
2021-05-13 23:48:51 +00:00
:::important
2022-05-19 06:59:10 +00:00
If ClearML Server is being reinstalled, clearing browser cookies for ClearML Server is recommended. For example,
2021-05-13 23:48:51 +00:00
for Firefox, go to Developer Tools > Storage > Cookies, and for Chrome, go to Developer Tools > Application > Cookies,
2022-05-19 06:59:10 +00:00
and delete all cookies under the ClearML Server URL.
2021-05-13 23:48:51 +00:00
:::
## Deploying
2024-06-23 07:00:06 +00:00
:::warning
2022-05-19 06:59:10 +00:00
By default, ClearML Server launches with unrestricted access. To restrict ClearML Server access, follow the instructions in the [Security ](clearml_server_security.md ) page.
2021-05-13 23:48:51 +00:00
:::
2022-05-08 08:30:09 +00:00
:::info Memory Requirement
2024-11-17 08:24:14 +00:00
Deploying the server requires a minimum of 8 GB of memory, 16 GB is recommended.
2022-05-08 08:30:09 +00:00
:::
2021-05-13 23:48:51 +00:00
**To deploy ClearML Server on Windows 10:**
1. Install the Docker Desktop for Windows application by either:
* Following the [Install Docker Desktop on Windows ](https://docs.docker.com/docker-for-windows/install/ ) instructions.
* Running the Docker installation [wizard ](https://hub.docker.com/?overlay=onboarding ).
1. Increase the memory allocation in Docker Desktop to `4GB` .
2022-12-26 09:08:10 +00:00
1. In the Windows notification area (system tray), right-click the Docker icon.
2021-05-13 23:48:51 +00:00
1. Click **Settings** ** >** **Advanced** , and then set the memory to at least `4096` .
1. Click **Apply** .
2022-05-19 06:59:10 +00:00
1. Remove any previous installation of ClearML Server.
2021-05-13 23:48:51 +00:00
**This clears all existing ClearML SDK databases.**
2024-06-30 06:16:11 +00:00
```
rmdir c:\opt\clearml /s
```
2021-05-13 23:48:51 +00:00
1. Create local directories for data and logs. Open PowerShell and execute the following commands:
2024-06-30 06:16:11 +00:00
```
cd c:
mkdir c:\opt\clearml\data
mkdir c:\opt\clearml\logs
```
2021-05-13 23:48:51 +00:00
2022-05-19 06:59:10 +00:00
1. Save the ClearML Server docker-compose YAML file.
2021-05-13 23:48:51 +00:00
2024-06-30 06:16:11 +00:00
```
curl https://raw.githubusercontent.com/allegroai/clearml-server/master/docker/docker-compose-win10.yml -o c:\opt\clearml\docker-compose-win10.yml
```
2021-05-13 23:48:51 +00:00
1. Run `docker-compose` . In PowerShell, execute the following commands:
2024-06-30 06:16:11 +00:00
```
docker-compose -f c:\opt\clearml\docker-compose-win10.yml up
```
The server is now running on [http://localhost:8080 ](http://localhost:8080 ).
2021-05-13 23:48:51 +00:00
2021-09-09 10:17:46 +00:00
## Port Mapping
2021-05-13 23:48:51 +00:00
2022-05-19 06:59:10 +00:00
After deploying ClearML Server, the services expose the following node ports:
2021-05-13 23:48:51 +00:00
* Web server on port `8080`
* API server on port `8008`
* File server on port `8081`
## Restarting
**To restart ClearML Server Docker deployment:**
* Stop and then restart the Docker containers by executing the following commands:
2024-06-30 06:16:11 +00:00
```
docker-compose -f c:\opt\clearml\docker-compose-win10.yml down
docker-compose -f c:\opt\clearml\docker-compose-win10.yml up -d
```
2021-05-13 23:48:51 +00:00
## Next Step
2024-04-30 12:31:05 +00:00
To keep track of your experiments and/or data, the `clearml` package needs to communicate with your server.
For instruction to connect the ClearML SDK to the server, see [Getting Started: First Steps ](../getting_started/ds/ds_first_steps.md ).