# Instalação Shinobi Docker Desktop Windows

<span style="color: rgb(255, 255, 255);">Link: [https://docs.shinobi.video/installation/docker-windows](https://docs.shinobi.video/installation/docker-windows)</span>

# <span style="color: rgb(255, 255, 255);">Running Shinobi in Windows Docker Desktop</span>

###### <span style="color: rgb(255, 255, 255);">A step-by-step tutorial on how to install and run Shinobi using Docker on Windows. By following these instructions, you’ll have Shinobi up and running in a container, accessible through your web browser.</span>

<span style="color: rgb(255, 255, 255);">Below is a step-by-step tutorial on how to install and run Shinobi using Docker on Windows. By following these instructions, you’ll have Shinobi up and running in a container, accessible through your web browser.</span>

<span style="color: rgb(255, 255, 255);">Also Thanks to **warbleeder** in the <a style="color: rgb(255, 255, 255);">Community Chat </a>for putting the information together for this document to be written!</span>

<div class="" id="bkmrk-community-chat-%3A%C2%A0htt" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Community Chat : <a style="color: rgb(255, 255, 255);">https://shinobi.community</a></span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 1. Download &amp; Install Docker for Windows</span>

<div class="" id="bkmrk-download-docker%3A-cli" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Download Docker:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);"><a style="color: rgb(255, 255, 255);"><span class="">Click here </span></a>to download the Docker Desktop Installer for Windows.</span>
        
        
        - <span style="color: rgb(255, 255, 255);"><a style="color: rgb(255, 255, 255);">https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe?utm\_source=docker&amp;amp;utm\_medium=webreferral&amp;amp;utm\_campaign=docs-driven-download-win-amd64</a></span>
2. <span style="color: rgb(255, 255, 255);">**Install Docker:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Run the **Docker Desktop Installer** you just downloaded.</span>
    - <span style="color: rgb(255, 255, 255);">During the installation wizard, ensure that **WSL (Windows Subsystem for Linux)** is checked.</span>
    - <span style="color: rgb(255, 255, 255);">After the installation completes, **reboot** your system when prompted.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 2. Initial Docker Configuration</span>

<div class="" id="bkmrk-open-docker-desktop%3A" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open Docker Desktop:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">After rebooting, launch **Docker Desktop** .</span>
    - <span style="color: rgb(255, 255, 255);">It may prompt you for an email address. You can skip this step.</span>
    - <span style="color: rgb(255, 255, 255);">Proceed through the next couple of setup screens until Docker finishes its initial configuration.</span>
2. <span style="color: rgb(255, 255, 255);">**Enable Host Networking:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Once Docker is running, click the **Settings** icon (gear icon at the top-right of the Docker Desktop window).</span>
    - <span style="color: rgb(255, 255, 255);">Go to **Resources** → **Network** .</span>
    - <span style="color: rgb(255, 255, 255);">Check the box for **Enable host networking** .</span>
    - <span style="color: rgb(255, 255, 255);">Click **Apply &amp; Restart** .</span>
    - <span style="color: rgb(255, 255, 255);">Wait for Docker to restart; if a prompt appears to cancel or continue, click **Cancel** to return to the main screen.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 3. Pull the Shinobi Image</span>

<div class="" id="bkmrk-open-the-built-in-te" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open the Built-in Terminal:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">In Docker Desktop, look to the bottom-right corner and click the **Terminal** icon.</span>
    - <span style="color: rgb(255, 255, 255);">Click **Enable** to activate the integrated terminal.</span>
2. <span style="color: rgb(255, 255, 255);">**Pull the Shinobi Image:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">In the terminal, copy and paste or type:</span>

</div>```
docker pull registry.gitlab.com/shinobi-systems/shinobi:dev
```

<div class="" id="bkmrk-press%C2%A0enter%C2%A0.-docker" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Press **Enter** . Docker will download the Shinobi image, which may take a few minutes depending on your connection.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 4. Run the Shinobi Container</span>

<div class="" id="bkmrk-copy-the-image-id%3A-o" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Copy the Image ID:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Once the pull is complete, click on the **Images** tab in Docker Desktop.</span>
    - <span style="color: rgb(255, 255, 255);">Locate the Shinobi image you just downloaded.</span>
    - <span style="color: rgb(255, 255, 255);">Next to the image, click the **copy** button to copy the image’s **ID** (it will be in the form of a long **sha256** hash).</span>
2. <span style="color: rgb(255, 255, 255);">**Start the Container:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Return to the **Terminal** in Docker Desktop.</span>
    - <span style="color: rgb(255, 255, 255);">Type the following command, replacing `<Image_ID> `with the ID you copied:</span>

</div>```
docker run -d -p 8080:8080 <Image_ID>
```

<div class="" id="bkmrk-for-example-%28with-a-" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">For example (with a sample ID):</span>

</div>```
docker run -d -p 8080:8080 sha256:f3f6ed55e741e260c0b975f8d89f1358018b53ab28b9887ae00e363fd2e3423c
```

<div class="" id="bkmrk-press%C2%A0enter%C2%A0to-launc" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Press **Enter** to launch the Shinobi container.</span>

</div><span style="color: rgb(255, 255, 255);">**3. Confirm the Container is Running:**</span>

<div class="" id="bkmrk-click-on%C2%A0containers%C2%A0" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Click on **Containers** in Docker Desktop.</span>
- <span style="color: rgb(255, 255, 255);">You should see your new container listed and its status should be green, indicating it’s running successfully.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 5. Access Shinobi in Your Browser</span>

<div class="" id="bkmrk-open-shinobi-superus" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open Shinobi Superuser Interface:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Launch your web browser and navigate to:</span>

</div>```
http://localhost:8080/super
```

<span style="color: rgb(255, 255, 255);">**2. Log In with Default Credentials:**</span>

<div class="" id="bkmrk-default-superuser-em" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">**Default Superuser Email:** `admin@shinobi.video`</span>
- <span style="color: rgb(255, 255, 255);">**Default Password:** `admin`</span>

</div><span style="color: rgb(255, 255, 255);">**3. Explore Shinobi:**</span>

<span style="color: rgb(255, 255, 255);">Once logged in, you can manage and customize your Shinobi installation as needed.</span>

<div class="" id="bkmrk-" style="text-align: justify;">---

</div>#### <span style="color: rgb(255, 255, 255);"> 6. Troubleshooting &amp; Support</span>

<div class="" id="bkmrk-if-you-encounter-any" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">If you encounter any issues:</span>
    - <span style="color: rgb(255, 255, 255);">Make sure Docker Desktop is running.</span>
    - <span style="color: rgb(255, 255, 255);">Ensure you’ve enabled WSL integration and host networking.</span>
    - <span style="color: rgb(255, 255, 255);">Confirm that your container is active and not stopped.</span>
    - <span style="color: rgb(255, 255, 255);">Double-check you’re using the correct port (8080).</span>
- <span style="color: rgb(255, 255, 255);">For further help, you can reach out on <a style="color: rgb(255, 255, 255);">Discord </a>, user **warbleeder** has been gracious to volunteer in helping users with questions or issues in relation to using Docker Desktop on Windows.</span>

---

</div>### <span style="color: rgb(255, 255, 255);">That’s it!</span>

<span style="color: rgb(255, 255, 255);">You have successfully installed and launched Shinobi on Windows using Docker. You can now explore camera setup, motion detection, video recording, and all the other powerful features Shinobi has to offer. Enjoy!</span>