If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QNE Network 1.0.x

Download (PDF)

Container Creation

There are several ways to create containers in Container Station.

Creating a Container from a Recommended Application

The Recommended tab displays a list of QNAP apps and other recommended applications.

  1. On the menu, click Create.

    The Create screen displays.

  2. Go to the Recommended tab.
  3. Select an application from the list and then click Install.

    An installation wizard displays.

  4. Specify the allocated resources and then click Create.

    Container Station creates the container and installs the application.

Creating a Container from a Docker Hub Image

Container Station has a built-in Docker Hub where you can find Docker containers.

  1. On the menu, click Create.

    The Create screen displays.

  2. Go to the Docker Hub tab.
  3. Type a keyword and then press Enter or click .

    The list of available images appear.

  4. Select an image from the list and then click Install.

    The Select Image Version window opens.

  5. Select an image version and then click Next.

    The Create Container wizard opens.

  6. Configure the container settings.

    Container Station provides default settings, which you can either retain or modify.

    For details on the available settings, see Editing the Container Settings.

  7. Optional: Modify the advanced settings.

    This option is available for more advanced users.

    For details, see Modifying the Advanced Settings.

    Important:

    You cannot modify the advanced settings after the container has been created.

  8. Click Next.

    The Summary screen displays.

  9. Review the container settings and then click Create.

    Container Station creates the container.

Creating a Container from an Existing Image

You can create a container from images that you have already pulled from Docker Hub or you can pull new ones, as needed.

  1. On the menu, click Images.

    The Images screen displays.

  2. Optional: Pull an image from Docker Hub.
    1. Click Pull.

      The Pull image from registry window opens.

    2. Type an image name.

      Image names must start and end with a letter or number, and can contain between 1 and 128 characters of the following types:

      • Letters: a–z

      • Numbers: 0–9

      • Special characters:

        • Hyphen (-)

        • Underscore (_)

        • Period (.)

        • Forward slash (/)

        • Colon (:)

      Note:

      Using consecutive special characters in the image name is not allowed.

    3. Specify the image version.

      Image versions must start with a letter, number, or underscore (_), and can contain between 1 and 128 characters of the following types:

      • Letters: A–Z, a–z

      • Numbers: 0–9

      • Special characters:

        • Hyphen (-)

        • Underscore (_)

        • Period (.)

    4. Optional: Enable Set to default.
    5. Click Pull.
  3. Locate an image from the list and then click in the Actions column.

    The Create Container wizard opens.

  4. Configure the container settings.

    Container Station provides default settings, which you can either retain or modify.

  5. Optional: Modify the advanced settings.

    This option is available for more experienced users.

    For details, see Modifying the Advanced Settings.

    Important:

    You cannot modify the advanced settings after the container has been created.

  6. Click Next.

    The Summary screen displays.

  7. Review the container settings and then click Create.

    Container Station creates the container.

Creating an Application

Applications are multi-container resources created using Docker Compose. This is commonly used when a container may have dependencies and require other containers to function. To run applications, you can use a YAML file to describe components and configuration files.

  1. On the menu, click Create.

    The Create screen displays.

  2. Click Create Application.

    The Create Application window opens.

  3. Configure the application settings.
    1. Specify the application name.
    2. Enter the Docker Compose YAML.

      For details, see https://docs.docker.com/compose/.

      Tip:

      You can select and view YAML samples from the Sample drop-down list.

  4. Optional: Click Validate YAML to verify if the code is correct.

    Container Station validates the YAML and highlights any formatting errors.

  5. Click Create.

    Container Station creates the Docker Compose application.

Modifying the Advanced Settings

The advanced settings provide more granular options for intermediate users of Container Station.

Important:

You cannot modify the advanced settings after the container has been created.

  1. On the Create Container wizard, click .

    The Advanced Settings section expands.

  2. Optional: Modify any of the following settings.

    Tab

    Possible User Actions

    Command

    1. Specify the command line program and entrypoint.

      Note:

      Use shell or exec syntax.

    2. Enable Allocate interactive and tty processes for the container.

    3. Enable Run containers in privileged mode.

    Network

    1. Specify the container hostname.

    2. Specify the container MAC address.

    3. Click Add port forwarding rules to open QNE Network Manager and add the port forwarding rules..

    4. Enable Use static IP.

    Environment

    Click Add to specify environment variables.

    Labels

    Click Add to specify labels.

    Volume

    Click Add volume and then select one of the following:

    • New volume

    • Volume from container

    • Existing volume