Plesk

Using Docker – Operations with Containers

You can do the following with containers:

Recreating a Container

Usually, you need to recreate a container when you want to update the
application to a newer version. In fact, you can rebuild a container
using any application version available in the catalog, not only a newer
one.

Custom settings are preserved during recreation. To preserve data used
by the application inside a container, you should specify volume mapping
before you recreate a container. Volume mapping enables you to have
access to directories used inside a container (see Volume
Mapping
in container settings).

To recreate a container:

  1. Go to Docker and click Details below the container you want
    to recreate.
  2. Click Recreate in the container settings and specify the image
    version, and whether to use default environment variables.