Skip to content

Migrating to Docker

Migrate existing imperia CMS installation to Docker#

Step 1: Familiarize yourself with the Docker initialization#

To run an existing installation of imperia CMS with Docker, proceed as described in Set up and start Docker for imperia CMS for the first time.

Create the alias imperia-docker as described there.

Step 2: Update to imperia 11#

Before you can switch an existing installation to Docker operation, you must update the installation to imperia 11.

Upgrade from i10 to i11

Step 3: Preparing the root directory for migration#

  1. Navigate to the root directory of the imperia system that you want to migrate.

  2. Move your own Perl modules from the site/modules/core directory to a new lib/ directory, which you create at the root directory level. By default this is next to site and htdocs.

  3. Delete all directories and files in site/modules and site/bin.

  4. Also delete the old theme views under site/view:

    rm -r site/view/imperia/default site/view/imperia/basic site/view/imperia/contrast site/view/imperia/darkblue site/view/imperia/darkgreen site/view/imperia/darkred site/view/imperia/darkviolett site/view/imperia/ie7

  5. Also delete the subdirectory imperia/ in your htdocs directory (typically htdocs).

Note

Please note that you only delete the imperia system files. If you have created your own directories for Assets, SiteActives, etc. here, these will remain.

Step 4: Start Docker container#

Then start the Docker container from the root directory using the following command: imperia-docker serve

The system is then available under port 2404.