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)

Duplicating a Container

  1. Go to AMIZ Cloud.
  2. Next to , select an organization.
  3. Click Actions.
  4. Click Duplicate Container.

    The Duplicate Containers page appears.

  5. Select a container from the list.
  6. Specify the container resources.

    Setting

    User Action

    Container name

    Specify the container name

    CPU allocation

    Select one of the following for CPU allocation:

    • Shared: Shares the specified CPU resources with other applications.

    • Dedicated: Assign CPU resources specifically for this container.

    CPU

    Specify the number of CPUs for the container.

    Memory

    Specify the amount of memory required to run the container.

  7. Configure the container settings.

    Setting

    User Action

    Default settings

    Enable the default container settings.

    Custom Settings

    Enable to modify the container settings based on your requirements.

    1. Configure the custom settings.

      Setting

      User Action

      General

      Configure the following:

      • Enable or disable Pull the image from the registry before creating the container.

      • Memory reservation: Reserve limited or unlimited memory for the container.

      • Restart policy: Specify the restart policy from the drop-down list.

      Command

      Configure the following:

      • CMD: You can specify the command to override the default instruction provided by the container image.

      • Entrypoint: Specify an entrypoint for running the container as an executable.

      • Enable Allocate interactive and TTY processes for the container to allow interactive processes (like a shell) run on the container.

      • Enable Run the container in privileged mode to allow the container access to all devices on the host machine.

        Note:

        Privileged mode is disabled by default.

      Networks

      Configure the following:

      • Hostname: Specify the container network hostname.

      • MAC address: Specify the MAC address for the cloned container.

        Tip:

        Click to generate a new MAC address.

      • Exposed ports: You can view the exposed network ports defined by the container image.

      Environment

      Click Add Environment Variables to define variables and values that can be used in the container commands and arguments.

      Labels

      Click Add Label Key to add metadata to the duplicated container.

      Volumes

      Click Add Volume to select from the following.

      • New volume: Specify a new volume and container for the duplicated container image.

      • Container volume: Select the volume from a preconfigured container.

        Note:

        You can select the volume file system from the following.

        • Read/Write

        • Read-only

      • Existing volume: Select the volume from the existing list of volumes and define the path for the new container using the duplicated container image.

  8. Click Duplicate Container.

AMIZ Cloud duplicates the container from the selected container image.