Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to be able to pull Docker images, we need login to the official Docker Hub first by simply using the following command:

Code Block
docker login

 

Pull DMS Docker images

DMS components have been packaged as three docker images:

...

Code Block
docker pull practiceinsight/dms_postgresql
docker pull practiceinsight/dms_elasticsearch
docker pull practiceinsight/dms_nuxeo_suite:1.9.0

...

Run DMS Docker containers

...

Code Block
docker run -p 5432:5432 -v /backup_folder_on_host :/backup --name postgres -d practiceinsight/dms_postgresql_winmac

...

DMS Postgresql for Linux is a container that is similar to a WinMac one, but all the data files of the postgresql are located in the folder of host machine. All the scripts for the WinMac container are working here.

Requirements to run:

  1. PostgreSQL data folder must be mounted. Be sure, that user that launches docker container has write permissions on this folder. This folder should contain a valid data of Postgresql 9.3, it also can be empty, then new nuxeo database will be created there. If you have older version of Postgresql, then you need to backup/restore it with scripts of WinMac.
  2. Port 5432 must be exposed.
  3. If you want to backup and restore database with the WinMac scripts, then the backup volume must be mounted with -v /backup_folder_on_host:/backup

Example command:

docker run -p 5432:5432 \
    --name postgres -d practiceinsight/dms_postgresql

Run DMS ElasticSearch container

...