Previous page

Next page

Locate page in Contents

Print this page

Disabling Container

There may appear situations when you wish to forbid Container owners to use their Containers. For example, it may happen in case the Container owner uses it for unallowed purposes: intruding into computers of other users, participating in DoS attacks, etc.

In such cases, you can disable a Container, thus, making it impossible to start the Container once it was stopped. For example, you can execute the following command to disable Container 101 residing on your server:

# pctl set 101 --disabled yes

After the Container stopping, the Container user will not be able to start it again until you enable this Container again by passing the --disabled no option to pctl set . You can also use the --force option to start any disabled Container. For example:

# pctl start 101

Container start disabled

# pctl start 101 --force

Starting Container...

Container is mounted

Adding port redirection to Container(1): 4643 8443

Adding IP address(es): 10.144.144.101

Hostname for Container set: Container_101

Container start in progress...