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.
-
On the menu, click Create.
The Create screen displays.
- Go to the Recommended tab.
-
Select an application from the list and then click
Install.
An installation wizard displays.
-
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.
-
On the menu, click Create.
The Create screen displays.
- Go to the Docker Hub tab.
-
Type a keyword and then press Enter or click
.
The list of available images appear.
-
Select an image from the list and then click
Install.
The Select Image Version window opens.
-
Select an image version and then
click Next.
The Create Container wizard opens.
-
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.
- 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.
-
Click Next.
The Summary screen displays.
-
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.
-
On the menu, click Images.
The Images screen displays.
- Optional:
Pull an image from Docker Hub.
-
Click Pull.
The Pull image from registry window opens.
-
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.
-
-
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 (.)
-
-
- Optional: Enable Set to default.
- Click Pull.
-
Click Pull.
-
Locate an image from the list and then click in
the Actions column.
The Create Container wizard opens.
-
Configure the container
settings.
Container Station provides default settings, which you can either retain or modify.
- 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.
-
Click Next.
The Summary screen displays.
-
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.
-
On the menu, click
Create.
The Create screen displays.
-
Click Create Application.
The Create Application window opens.
-
Configure the application
settings.
- Specify the application name.
-
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.
- Optional:
Click Validate YAML to
verify if the code is correct.
Container Station validates the YAML and highlights any formatting errors.
-
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.
You cannot modify the advanced settings after the container has been created.
-
On the Create Container wizard, click .
The Advanced Settings section expands.
- Optional:
Modify any of the following settings.
Tab
Possible User Actions
Command
-
Specify the command line program and entrypoint.
Note:Use shell or exec syntax.
-
Enable Allocate interactive and tty processes for the container.
-
Enable Run containers in privileged mode.
Network
-
Specify the container hostname.
-
Specify the container MAC address.
-
Click Add port forwarding rules to open QNE Network Manager and add the port forwarding rules..
-
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
-