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.21.1 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.21.1Ā release.

šŸ“‹How to Update Portainer to the LATEST version on UGREEN NAS

  • 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

Add Read & Write Permissions to the Docker Folder. If you have already added the Read and Write Permissions to the Docker Folder, skip this STEP.

  • STEP 7

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 8

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

UGREEN NAS Install Portainer 5

  • STEP 9

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 10

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 11

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 12

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 13

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 14

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 15

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 16

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 17

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 18

Go back toĀ STEP 1Ā or you will deal with karma šŸ™‚

  • STEP 19

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 20

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 21

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 22

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 23

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 24

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 25

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 26

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

UGREEN NAS Install Portainer 26

  • STEP 27

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

UGREEN NAS Install Portainer 27

  • STEP 28

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 29

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

UGREEN NAS Install Portainer 29

  • STEP 30

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 31

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

UGREEN NAS Install Portainer 31

  • STEP 32

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 33

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

UGREEN NAS Install Portainer 5

  • STEP 34

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 Tuesday / September 10th, 2024 at 9:37 AM