Ispmanager 6 lite, pro, host documentation

Container settings

 

Different operating systems use different versions of Docker, which defines different restrictions on the settings of Docker itself.

Settings when creating a container

When adding a new container, Basic and Extended settings are available.

Basic settings

Basic settings fields and buttons:

  • Container name;
  • Tag – select container version (the latest by default);
  • Auto start – container auto start settings, can be:
    • Do not restart (default);
    • Restart always;
    • Restart on failure;
    • Run if not stopped;
  • RAM limit – Set the RAM limit for the container, if necessary;
  • Add folder mapping – adds the fields:
    • Folder on the server – directory on the server that will be mounted into the container;
    • Mount point inside a container – mount point inside a container;
  • Add volume – adds the fields:
    • Volume – create a new one or select an existing Docker volume;
    • Volume name;
    • Mount point inside a container;
  • Add port mapping –adds the fields:
    • Server port– traffic from the specified server port will be routed to the container;
    • Container port – the incoming traffic will be sent to the specified port of the container;
  • Environment variable – adds the fields:
    • Name – environment variable name;
    • Value – environment variable value.

Extended settings

Extended settings fields and buttons:

Basic settings section

  • Container name;
  • Tag – select container version (the latest by default);
  • Auto start – container auto start settings, can be:
    • Do not restart (default);
    • Restart always;
    • Restart on failure;
    • Run if not stopped;
  • RAM limit – set the RAM limit for the container;
  • Processes number limit – maximum number of processes inside a container.

CPU section

  • Limit the number of available CPUs – Limits the number of available CPUs. For example, if the server has two CPUs and you set it to "1.5", the container is guaranteed no more than one and a half CPUs;
  • Relative CPU usage – relative weight for priority control when using CPU resources. An integer, the higher it is, the higher will be the priority on CPU usage in proportion to the value of other containers. 1024 is the default value.

Folder settings section

  • Folder on the server – directory on the server that will be mounted into the container;
  • Mount point inside a container – mount point inside a container;
  • Add folder mapping – adds the fields Folder on the server and Mount point inside the container.

Volume setup section

  • Volume – create a new one or select an existing Docker volume;
  • Volume name;
  • Mount point inside a container;
  • Add volume – adds the fields volume, volume name and Mount point inside a container.

Port settings section

  • Server port– traffic from the specified server port will be routed to the container;
  • Container port – the incoming traffic will be sent to the specified port of the container;
  • Add port mapping – adds the fields Server port and Container port.

Environment variable settings section

  • Name – environment variable name;
  • Value – environment variable value.
  • Add a variable – adds name and value.

Created container settings

Basic settings section

  • Auto start – container auto start settings, can be:
    • Do not restart (default);
    • Restart always;
    • Restart on failure;
    • Run if not stopped;
  • RAM limit – set the RAM limit for the container;
  • Processes number limit – maximum number of processes inside a container.

CPU section

  • Limit the number of available CPUs – Limits the number of available CPUs. For example, if the server has two CPUs and you set it to "1.5", the container is guaranteed no more than one and a half CPUs;
  • Relative CPU usage – relative weight for priority control when using CPU resources. An integer, the higher it is, the higher will be the priority on CPU usage in proportion to the value of other containers. 1024 is the default value.