[Důležité bezpečnostní upozornění] Byly zjištěny falešné webové stránky Qfinder Pro. Zjistěte více >

How to debug and fix common container issues in Container Station?


Datum poslední úpravy: 2025-04-08

Container Station allows you to deploy applications and containers developed by third-party developers on your QNAP device. It is possible that the open-source images used to create these application and containers may cause issues during deployment.

QNAP does not provide technical support for third-party images. You can use the following tutorial to troubleshoot common container-related issues.

Checking the Container Configuration

Containers created from images inherit all the image characteristics. Make sure you scan the image file in order to detect security issues, incorrect configurations, and backdoor vulnerabilities before deploying the container from the image.

If you detect issues with the container after deployment, you can check the container logs to identify and rectify the image file.

Examining the Image Information

Check the image prerequisites and perform any necessary steps before installing the container.

Tip:

If you are using an image from the Docker registry, you can find image information by clicking the image name after searching the image in Explore > Docker Hub in Container Station. Alternatively, go to https://hub.docker.com/search and search the image.

For example, when deploying a PostgreSQL container using the postgres image, the POSTGRES_PASSWORD environment variable is required. The container cannot be deployed properly without this essential variable.

Important:

When deploying a postgres container in Container Station, make sure that you specify the POSTGRES_PASSWORD environment variable in the Environment section.

Analyzing Container Station Event Logs

Review information logged by Container Station for all applications and containers. Failure logs return explicit error messages that you can examine in the contents of the logged data. Failure and warning logs cover the application or container name, error code, and error message.

  1. Open Container Station.
  2. Click Event Logs.

    The Event Logs page opens.

  3. Check for failure logs.

    In the following example, the application encountered a startup failure because the defined ports were occupied by other services.

    In another example, the container encountered a startup failure because the entrypoint command was misconfigured.

Checking Individual Container Logs

You can inspect individual logs for error and warning messages related to application and container failures. Container Station catalogues detailed log entries that specify error states including missing environmental variables, invalid name formats, failed image retrievals, and other initialization errors.

  1. Open Container Station.
  2. Click Containers.
  3. Click on a container name.

    The Details page opens.

  4. Click Logs.
  5. Check for error and warning messages.

    In the following example, the MYSQL_ROOT_PASSWORD environmental variable was not configured before deploying a MySQL container using the mysql image, causing the container to stop immediately after starting it.

    In another instance, a Rancher container was deployed using a rancher/rancher image without enabling privileged mode. Without the --privileged flag, the container fails to start.

Verifying Image Compatibility

Images do not guarantee compatibility with the processor architecture and operating system version of the host device. There are limitations to image portability and containers are inoperative unless the correct image size and version are used for deployment.

Checking the Platform Compatibility of the Image

Make sure that the image platform is compatible with the processor architecture of the QNAP device.

If the image is exported from another QNAP device, make sure that the CPU architecture is same between and the source and target machines.

Important:

You cannot run images exported from 64-bit x86 machines on a 64-bit or 32-bit ARM model. Conversely, ARM containers cannot run on 64-bit x86 devices.

Docker

The Docker image webpage provides a list of supported architecture and operating systems for each image version.

Note:

In general, linux/arm/v7 images are compatible with 32-bit ARM machines, linux/arm64/v8 images are compatible with 64-bit ARM machines, and linux/amd64 images are compatible with 64-bit x86 machines.

LXD

For details on compatibility and supported list, go to https://images.linuxcontainers.org/.

Note:

armhf containers are compatible with 32-bit ARM machines, arm64 containers are compatible with 64-bit ARM machines, and amd64 containers are compatible with 64-bit x86 machines.

Viewing Container Incompatibility on Container Station

Certain Docker containers may record logs related to container image incompatibility with the message exec format error.

When incompatible LXD containers are deployed, Container Station may record failure logs in the Event Logs page.

Checking the Page Size Compatibility

QNAP updated the system page size from 4K to 32K for better performance and user experience on the following 32-bit ARM devices. This change in the compute environment could limit the container's access to memory resources. To avoid segmentation faults in containers, make sure that you verify third-party container page size compatibility before container deployment.

Series

Models

TS-x31P

TS-531P

TS-x31P3

TS-231P3, TS431P3

TS-x31X

TS-231X, TS-431X, TS-531X, TS-831X, TS-431X2, TS-431X3

TS-x31KX

TS-431KX

TS-x31XU

TS-431XU, TS-431XU-RP, TS-831XU, TS-831XU-RP, TS-1231XU, TS-1231XU-RP

TS-x31XeU

TS-431XeU

TS-x35

TS-1635

Checking the QNAP System Configuration

Make sure that the host device is configured for container deployment and orchestration.

  1. Check if the Container Station networks are added to the the allow list.
    1. Go to Network & Virtual Switch > Network > Virtual Switch and check which network segments are used by the container network.
    2. Check which network segments are used by the container network.
    3. Go to Control Panel > System > Security > Allow/Deny List.
    4. Check whether the container network segments are added to the allow list.
    Important:

    QNAP recommends adding the following IP address to the allowed IP list: 10.0.3.0/24, 10.0.5.0/24, 10.0.7.0/24. If Kubernetes service is enabled in Container Station, ensure that you add 10.42.0.0/24 (Kubernetes Pod Network CIDR) to the list.

  2. Check the advanced permission settings.
    Tip:

    Containers runs directly on the system and share the same root capabilities with the host device, and container functions could be affected if advanced folder permissions are enabled. If the container fails to run correctly, QNAP recommends denying advanced folder permissions on the system.

    1. Go to Control Panel > Privilege > Shared Folders > Advanced Permissions.
    2. Check whether Enable Advanced Folder Permissions is disabled.
  3. Go to Control Panel > Privilege > Quota to check the user quota settings.
    Note:

    This process is applicable only if Quota is enabled on the device.

  4. Check the storage capacity and status.
    1. Go to Storage & Snapshots > Storage > Storage/Snapshots.
    2. Check the storage space status.
      Tip:

      If the status is Check File Status, click the status message to check for storage errors.

  5. Check the network configuration.
    1. Go to Network & Virtual Switch > Network > Interfaces and check whether the DNS server and gateway settings are configured correctly.
      Note:
      • In Network & Virtual Switch, ensure that the IP address of the virtual switch is not configured as Do not assign IP addresses for the containers using the bridge network mode.

        Go to Network & Virtual Switch > Network > Virtual Switch, and then select Do not assign IP addresses (for special purposes such as building an external network or isolated network).

    2. Go to Container Station > Preferences > Network Settings and ensure that the container network segments are not conflicting with the local environment.
      Tip:

      Container Station uses 10.0.3.0/24, 10.0.5.0/24 and 10.0.7.0/24 as the default IP networks.

    3. Ensure that the DHCP server is functioning correctly and can assign IP addresses for containers using the bridge network mode.

Referring to Online Help and Documentation

Several images are open source allowing users to modify the source code. In case none of the aforementioned troubleshooting methods work, there is a possibility that the source image is incompatible or corrupt. In such situations, QNAP recommends visiting the image website to find more information about the image, or using other images in the same category.

If the image belongs to the Docker registry, you can find more details about the image on their Overview page. For example, the ubuntu image in Docker provides quick reference links for further information.

Byl tento článek užitečný?

39% lidí si myslí, že to pomáhá.
Děkujeme vám za vaši zpětnou vazbu.

Sdělte nám prosím, jak lze tento článek vylepšit:

Pokud chcete poskytnout další zpětnou vazbu, uveďte ji níže.

Zvolte specifikaci

      Zobrazit více Zobrazit méně
      Tato stránka v jiných zemích / oblastech:
      open menu
      back to top