Skip to main content
Version: Latest Version

Docker Manager

Docker Manager is a Docker management tool with a graphical user interface, providing an excellent user experience. Docker Manager integrates an image registry and offers various functions through a graphical interface, including image search, download, and container installation and configuration. The millions of images available on Docker Hub provide numerous possibilities for your TNAS to meet your business needs.

danger

To use the Docker Manager application, please install Docker engine first.

Overview

In the overview interface, you can quickly monitor the real-time status of projects and containers to ensure stable service operation. Additionally, the page visually presents the resource usage of running projects and containers, providing an immediate overview.

Projects

Through the project feature, you can easily define a multi-container application using a Docker-compose.yml configuration file. They can initiate and manage all services specified in the YML file configuration with a single command, addressing the orchestration needs between containers.

Managing Projects

On the project page, you can perform the following operations:

  • Add Project: Add a new project;
  • Start/Stop: Start or stop the selected project;
  • Restart: Restart the selected project;
  • Edit: Modify the selected project;
  • Delete: Remove the selected project;
  • Force Stop: Forcefully terminate the selected project;
  • Clear: Stop and delete all containers, networks, images, and data volumes associated with the service;
  • Build: Reconstruct the project using the configured Docker-compose.yml file;

Creating a Project

To create a project using the project feature:
  1. Navigate to the Docker Manager application interface and select "Projects" from the left navigation bar;
  2. Click the "Add" icon in the upper right corner or the "Add Now" button on the page to open the pop-up window for creating a project;
  3. Sequentially enter the project name, project path, and select the Docker-compose.yml configuration file. Configuration file options include:
    • Local TNAS: Choose a configuration file stored locally on TNAS.
    • Your Computer: Upload the configuration file from your computer.
    • Create YAML File: Open an editor to create a new Docker-compose.yml file.
  4. Validate the YAML configuration.
  5. After validation, click the Apply button.
Note

Validating YAML will check the content and format of the docker-compose.yml file in the editor. If the content is empty or the format is incorrect, the "Apply" button will be disabled. Please modify your docker-compose.yml file according to the provided prompts.


To view the reason for project creation failure:

If a project creation fails during the process, you can click on the "Creation Failed" status of the project to view the error log.

Containers

Containers are running instances of Docker images, representing dynamic manifestations of the images. They can be started, paused, stopped, and deleted. Creating a container requires an image. If you do not have any images, you can visit the registry page to download images uploaded by open-source developers.

Managing Containers

On the container page, you can perform the following operations:

  • Add: Select an image to create a container;
  • Start/Stop: Start or stop the container;
  • Restart: Restart a running container;
  • Edit: Modify the container's configuration;
  • Delete: Delete the selected container;
  • Force Stop: Forcefully stop a running container;
  • Duplicate: Create a new container by duplicating the configuration of an existing container;
  • Export: Export the selected container as a .tar file;
  • Import: Import a file that can be configured to create a container;
  • Processes: View the running status of commands executed within the container;
  • Logs: View logs generated by the container's operations;
  • Terminal: Access the container's terminal interface.

Creating a Container

To create a container in the Docker Manager application:

  1. Navigate to the Docker Manager application interface and click "Images" in the left navigation bar;
  2. Click the "Start" icon in the upper right corner to open the container creation popup window;
  3. Set the following general information: · Container name. · Choose whether to enable resource limits, automatic restarts, and high-privilege execution for the container.
  4. Configure mounted directories;
  5. Select the network type for networking configuration;
  6. Configure network ports;
  7. Set environment variables;
  8. Establish connections with other containers;
  9. Configure execution commands;
  10. Confirm the settings and click "OK" to complete the configuration.
Note
  1. If you have confirmed that your settings are correct but still cannot successfully create a container using an image from Docker Hub, try using a different image. Docker Hub contains custom images uploaded by various developers, and sometimes the quality of the images cannot be guaranteed.
  2. When configuring container ports, select a port number that is different from ports used by other services to avoid service errors caused by port conflicts.
  3. The default time zone for most containers is UTC. You can set the environment variable "TZ" to change the container's time zone. Visit here to view the list of time zones in the time zone database.

Images

A Docker image is a special file system that provides programs, libraries, resources, configuration files, and other necessary files for container runtime, as well as some configuration parameters prepared for runtime. It is the foundation for creating and running Docker containers.

Local Images

This section lists images downloaded to the local TNAS. You can manage all downloaded images through the Images function and use them to create containers. Additionally, you can add images by importing files.

Managing Local Images

On the Local Images page, you can perform the following operations on local images:

  • Start: Start the selected image and configure the corresponding container;
  • Import: Import images stored locally on your computer or NAS;
  • Export: Export the selected image to a NAS folder;
  • Delete: Delete the selected image.

Registry

Synchronize with millions of image repositories on Docker Hub, providing you with millions of images. In the Registry, you can download image files.

Networks

Networks enable communication between containers and the outside world. Docker Manager provides network management capabilities to configure and manage container networks.

Managing Networks

On the Networks page, you can perform the following operations:

  • Add: Customize network settings;
  • Delete: Delete selected networks;
  • Settings: Manage containers connected to the selected network.

Settings

Manage whether to display system notifications during image downloads in the application.

Logs

List all operation records executed in the Docker Manager application, allowing log export and management.

Managing Logs

On the Logs page, you can view logs of all tasks, select specific tasks to view their logs, and perform the following settings on logs:

  1. Search: Search for events;
  2. Refresh: Refresh the logs;
  3. Export: Export logs;
  4. Delete: Delete logs, either all logs or specified logs;
  5. Settings: Set log retention policies, and logs that do not meet the policies will be automatically deleted.