How to Run DeepSeek R1 Locally with Ollama & Docker?
Are you tired of too many errors in using DeepSeek R1 on your system and want to run it locally? Don’t worry! In this blog post of DeepSeek’s Guides, we’ll discuss how to run DeepSeek R1 locally on the terminal or command line of your PC and in the Open Web UI on your browser without an internet connection. As we’ve given so many methods to fix errors in DeepSeek R1, but still many people are facing issues in running it on their PCs.
That’s why we decided to give you another alternative solution based on our experience. My friends and I also use it locally when there is no fast internet connection or when the server is too busy. This method has proved to be very beneficial for us because we can run DeepSeek Chatbot fast without any temporary or permanent errors. We’ll also discuss some drawbacks of using DeepSeek R1 locally.
Advantages of Running DeepSeek R1 Locally
Before going to discuss the steps for running DeepSeek R1 locally, it’s compulsory to know why we need to do it. Let’s discuss:
Disadvantages
System Requirements
For running DeepSeek R1 locally, you’ve to download and install Ollama and Docker, so your system must fulfill the following requirements:
| Component | Requirement |
| Ollama | Minimum RAM: 8GB, Recommended RAM: 16GB+ |
| OS: Windows, macOS, or Linux (latest versions supported) | |
| Docker | Minimum RAM: 8GB, Recommended RAM: 16GB+ |
| OS: Windows 10/11, macOS 10.14+, or Linux (Ubuntu 20.04+) | |
| Storage | Minimum: 500 GB SSD, Recommended: 1 TB SSD or NVMe |
| CPU | Multi-core processor (Intel i7 or AMD Ryzen 7 or better) |
| Basic Terminal Knowledge | Required |
| Open Web UI | Required |
How to Run DeepSeek R1 Locally Simple Steps
If you want to run DeepSeek R1 locally on the command line of your system, then you’ve to follow step 1 and step 2. On the other hand, if you desire to run it in Open Web UI in the Chrome browser, then follow all 4 steps:
Important to Know
If you want to run DeepSeek R1 locally in the terminal or command line of your system, then just download and install Ollama and DeepSeek-R1 from Ollama. On the other hand, if you want to run it locally in the Open Web UI of your browser, then also install Docker and follow all 4 steps given below.
Step 1: Download & Install Ollama on Your System
- First, you’ve to ensure that your system fulfills the system requirements whether you want to download and install on Windows, macOS, or Linux.
- Then visit https://ollama.com/ and click on the download button.
- A new page will appear, prompting you to choose your desired operating system and then hit download.
- The OllamaSetup.exe. The file will download, then double-click the file, then select the install button.
- Installation will start, and it’ll take a few minutes. When the green line gets completed, that means it’s installed. It’ll work in the backend, and you’ll not see the UI.
- If you want to check that Ollama is installed and active on your system, open Command Prompt, type “Ollama help,” and press enter. If you see the Ollama help menu, that means it’s installed and active on your system.
Step 2: Download & Run DeepSeek-R1
- Visit https://ollama.com/search and press DeepSeek-R1.
- Select the parameter of the language model according to the capability of your system. If your OS has a powerful GPU, then you can download a large language model and select 1.5b for a low-end PC.
- Copy the command available on the right side.

Step 3: Download & Install Docker
- Visit the official website of Docker, hover on the download button, and click on the operating system for which you want to download and install it.

Step 4: Configure Open Web UI with Docker
- Visit this document to find out the command for running DeepSeek R1 locally in the Open Web UI via Docker.
- Scroll down a little, and in step 2, you will find a command to run the container, so copy it.


Also Read:
Frequently Asked Question
Conclusion
We have done a detailed introduction on DeepSeek AI and are also aware that it has impacted the other AI sectors, and Wall Street has suffered a great loss due to its invention. That’s why DeepSeek is facing many cyberattacks from rivals, and it’s down. Another reason for its wide range of errors is the huge traffic on its server.
So it’s compulsory to find a permanent solution to running it smoothly on our system. Running it locally without an internet connection is the best solution to run it without any disruption, so the detailed guidance in this blog about “How to Run DeepSeek R1 Locally” will minimize your many problems related to this emerging AI tool.
