Saturday, November 9, 2024

Docker Manager on Terramaster NAS Installation and Configuration

I got my hands on the new Terramaster F8 SSD Plus NAS device and have been getting familiar with Terramaster tools and apps that run in their TOS 6 software that came on the F8 SSD Plus. Like most modern NAS devices, Terramaster NAS devices can natively run Docker. They have a Docker Manager as part of the TOS 6 OS and it provides a really nice interface to work with Docker containers, container images, networks, storage, etc.

Install Docker Manager on your Terramaster NAS

Installing Docker Manager is super easy in TOS 6. In fact, you will notice the Docker logo in the top navigation ribbon in the TOS interface. When you click this icon, you will be prompted to install it.

prompted to install docker manager in tos 6
prompted to install docker manager in tos 6

This will launch the install dialog box. Here you can Install the Docker Manager.

click to install docker manager in terramaster tos 6
click to install docker manager in terramaster tos 6

When you click install, there is an informational tip that pops up that notes you will need to install the Docker Engine. Confirm the installation.

note about installing docker engine

The Docker Mangaer is installed. Click the Open button.

click open to launch
click open to launch

You will see the dialog box pop up to enble Docker Engine.

unable to open docker engine enable it
unable to open docker engine enable it

It opens with the Overview screen.

overview screen shows cpu and memory
overview screen shows cpu and memory

Launching a Docker container

Below, we can get started launching a Docker container by first downloading a container image. A container image is the template from which you can spin up new containers. Here, we have clicked on the Nginx container. Then you click the “down arrow” to the right that is the download button.

download docker image in the docker container manager of terramaster
download docker image in the docker container manager of terramaster

It will ask you which tag of the image you want to download. Think of this like a version. Most will want the latest tag which is selected by default.

select the tag you want to download
select the tag you want to download

The image is downloaded. Now, we can click the “play” icon that will start the process of launching a new Docker container from the downloaded image.

starting a container from the downloaded image
starting a container from the downloaded image

Name the container and you can also set resource limits to use.

setting resource limits on docker containers
setting resource limits on docker containers

If you want to add a persistent volume, you can do that on the Volume screen.

docker volume configuration
docker volume configuration

Networks allows you to select the network to which you want to connect the container.

network configuration for new container
network configuration for new container

Next, you will configure the port settings. The container image will have the default ports configured, but if you need to adjust that, you can here.

port configuration
port configuration

There are also variables you can customize if needed, but most can just leave these at the defaults.

docker variable configuration
docker variable configuration

If you need to link containers together you can do that also on the Link screen. Click Next.

link containers together
link containers together

If you want to execute a command or set the entrypoint you can do that as well.

configure docker container entrypoint
configure docker container entrypoint

Confirm the settings of the new container and then you can click Confirm to begin the process of launching the container.

confirm settings of the new docker container in docker manager
confirm settings of the new docker container in docker manager

If we click on the Containers menu, you can see the container running and the statistics of the container resources and view all the other information about the container.

new container is up and running in docker manager
new container is up and running in docker

The container manager gives you the address hyperlinked in the containers menu. You can click this hyperlink and you should be taken to the Nginx container web page.

nginx web page shows the container is up and running
nginx web page shows the container is up and running

Video review of Terramaster F8 SSD Plus

Take a look at a recent video review of the Terramaster F8 SSD Plus and how it performs as a NAS for an iSCSI target.

Wrapping up

Terramaster NAS devices have really good features built into the TOS 6 operating system like the Docker Manager. Using it to download new container images, spin up new containers, configure the network, storage, linked container apps, etc is super easy using the Docker Manager. As shown, it is just a few clicks to install it along with the Docker engine. Let me know in the comments if you are using a Terramaster NAS device or what you are using to self-host your Docker containers.

Brandon Lee
Brandon Leehttps://tek2cloud.com
Brandon Lee is the Senior Writer, Engineer and owner at tek2Cloud.com and has over two decades of experience in Information Technology. Brandon holds multiple industry certifications and loves IT automation, modern applications, and cloud technologies along with traditional servers and infrastructure.

Leave a Reply

Read more

Other Posts