How to Install Portainer on Your UGREEN NAS

How to Install Portainer on Your UGREEN NAS

Today I will teach you how to install the latest Portainer 2.19.5 CE on your UGREEN NAS. Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster. Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine (Docker for Linux, Docker for UGREEN NAS and Docker for Windows are all supported). Portainer allows you to manage your Docker stacks, containers, images, volumes, networks and more! It is compatible with the standalone Docker engine and with Docker Swarm. The operating system for UGREEN NAS is called UGOS.

💡Note: This guide works perfectly with the latest Portainer CE 2.19.5 release.

  • STEP 1

Please Support My Work by Making a Donation.

  • STEP 2

Open the UGREEN App Center, then click Settings. Follow the instructions in the image below.

UGREEN NAS PORTAINER VOLUME 1

  • STEP 3

Select the Default Settings tab, then add Volume 1 as the Default Storage Location. Click Confirm. Follow the instructions in the image below.

UGREEN NAS PORTAINER VOLUME 2

  • STEP 4

Install Docker via the UGREEN “App Center”. Search for Docker, then click Install App. Follow the instructions in the image below.

UGREEN NAS Install Portainer 1

  • STEP 5

After you see Install Successful, click Done. Follow the instructions in the image below.

UGREEN NAS Install Portainer 2

  • STEP 6

Go to File Manager and open the docker folder under Shared Folder. Inside the docker folder, create a new folder and name it portainer. Follow the instructions in the image below.
Note: Be careful to use only lowercase, not uppercase letters.

UGREEN NAS Install Portainer 4

  • STEP 7

Go to Control Panel, then click on the Terminal icon. Follow the instructions in the image below.

UGREEN NAS Install Portainer 5

  • STEP 8

Check the Enable box to Enable the SSH service on port 22, then click Apply. Follow the instructions in the image below.

UGREEN NAS Install Portainer 6

  • STEP 9

Now open the Windows Command Prompt Client. Search for command prompt on your Windows PC. Follow the instructions in the image below. You can also use the PuTTY Client or Mac Z Shell (Client) if you are a Mac user.

UGREEN NAS Install Portainer 7

  • STEP 10

On Windows 10, open Command Prompt or use PuTTY or Mac Z Shell and type in ssh yourUGREENASusername@yourUGREENASip -p22 then press Enter on your keyboard. Follow the instructions in the image below.

UGREEN NAS Install Portainer 8

  • STEP 11

In Command Prompt, the message “Are you sure you want to continue connecting (yes/no)?” can sometimes appear. Type yes and then press Enter on your keyboard. Follow the instructions in the image below.

UGREEN NAS Install Portainer 9

  • STEP 12

After you press Enter, you will be prompted to type in your UGREEN NAS password. Type it in, then press Enter on your keyboard. Follow the instructions in the image below.

UGREEN NAS Install Portainer 10

After you type in your password, your Command Prompt will look like this:

UGREEN NAS Install Portainer 11

  • STEP 13

Now type in:

sudo su -

Then press Enter on your keyboard. Follow the instructions in the image below.
The su command switches to root user with high privileges.

UGREEN NAS Install Portainer 12

  • STEP 14

After you press Enter, you will be prompted to type in your UGREEN NAS password. Type in it, then press Enter on your keyboard. Now you have full root access to your NAS. Follow the instructions in the image below.

UGREEN NAS Install Portainer 13

  • STEP 15

Copy/Paste the code below in your Command Prompt client, then press Enter.

docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/portainer:/data portainer/portainer-ce

Follow the instructions in the image below.

UGREEN NAS Install Portainer 14

  • STEP 16

After you press Enter on your keyboard, the installation of the Docker Portainer image will start and should be done in a few seconds or minutes, depending on your Internet connection speed. Follow the instructions in the image below.

UGREEN NAS Install Portainer 15

  • STEP 17

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 18

Open your browser and type in http://ugreenas-ip-address:9000 Follow the instructions in the image below. Choose a Username and a strong Password, confirm the password, then press Create user.

UGREEN NAS Install Portainer 16

  • STEP 19

Click Get Started (proceed using the local environment in which Portainer is running). Follow the instructions in the image below.

UGREEN NAS Install Portainer 17

  • STEP 20

On the right in the Environments area, click on the little pencil. Follow the instructions in the image below.

UGREEN NAS Install Portainer 18

  • STEP 21

After you click on the little pencil, a new page will open. On the Public IP area, type in your own UGREEN NAS Local IP which, in my case, is 192.168.1.152 then click Update environment. Follow the instructions in the image below.

UGREEN NAS Install Portainer 19

  • STEP 22

If everything goes right, you will see this message at the top right of your screen: “Environment updated“.

UGREEN NAS Install Portainer 20

Your Portainer Dashboard at a glance!

UGREEN NAS Install Portainer 21

  • STEP 23

On the left Portainer sidebar, click on Registries then Click + Add registry. Follow the instructions in the image below.

UGREEN NAS Install Portainer 22

  • STEP 24

Click on Custom registry. In the Name field area, type in GHCR and, in the Registry URL area, type in ghcr.io
Click Add registry to save the settings. Follow the instructions in the image below.
Note: The ghcr.io registry is mandatory if you want to update Docker containers that are served via the ghcr.io registry via Portainer.

UGREEN NAS Install Portainer 23

Click on Custom registry. In the Name field area, type in CODEBERG and, in the Registry URL area, type in codeberg.org
Click Add registry to save the settings. Follow the instructions in the image below.
Note: The codeberg.org registry is mandatory if you want to update Docker containers that are served via the codeberg.org registry via Portainer.

UGREEN NAS Install Portainer 24

Click on Custom registry. In the Name field area, type in Quay.io and, in the Registry URL area, type in quay.io
Click Add registry to save the settings. Follow the instructions in the image below.
Note: The quay.io registry is mandatory if you want to update Docker containers that are served via the quay.io registry via Portainer.

UGREEN NAS Install Portainer 25

  • STEP 25

If everything goes right, your Registries area will look like this:

UGREEN NAS Install Portainer 26

  • STEP 26

Follow the steps below to remove the blue attention seeking “Upgrade to Business Edition” button.

UGREEN NAS Install Portainer 27

  • STEP 27

Download (click on the blue link below) the adBlocker extension for Chrome. Click Add to Chrome. Follow the instructions in the image below.

Download adBlocker Extension For Chrome

UGREEN NAS Install Portainer 28

  • STEP 28

Click Add extension. Follow the instructions in the image below.

UGREEN NAS Install Portainer 29

  • STEP 29

Go Back to your Portainer page. Right click on the blue “Upgrade to Business Edition” button. Select adBlocker then Block this ad. Follow the instructions in the image below.

UGREEN NAS Install Portainer 30

  • STEP 30

Click Looks good. Follow the instructions in the image below.

UGREEN NAS Install Portainer 31

  • STEP 31

Click Block it! Follow the instructions in the image below.

UGREEN NAS Install Portainer 32

Enjoy your Portainer without the blue attention seeking “Upgrade to Business Edition” button.

UGREEN NAS Install Portainer 33

  • STEP 32

Go to Control Panel, then click on the Terminal icon. Follow the instructions in the image below.

UGREEN NAS Install Portainer 5

  • STEP 33

Uncheck the Enable box on port 22, then click Apply. Follow the instructions in the image below.

UGREEN NAS Portainer Turn OFF SSH

Note: CE stands for Portainer Community Edition.

This post was updated on Saturday / June 15th, 2024 at 6:58 PM