...
- Be sure, that user that launches docker container has write permissions on the mounting folders.
- The version of the Linux kernel version must be 3.16 or higher (Lower versions contain bug that causes impossibility to use 'su' command in container with '–net=host' option enabled)
- On On Windows mounting folders must be located in C:/Users, on Mac OS X - in /Users
When you are starting the container on Windows, folder must be mounted that way (two slashes are needed for the windows path):
Code Block -v //c/users/:/path_in_container
If you operate docker on Windows with Docker Quickstart Terminal, then execution of the docker exec commands on windows must be done in the docker machine command line. if the docker machine is called "default", then you can get access to it with:
Code Block docker-machine ssh default
If you operate docker with PowerShell then this step is unnecessary.
...
Code Block |
---|
docker run -p 5432:5432 -v /backup_folder_on_host:/backup --net=host --name postgres -d practiceinsight/dms_postgresql_winmac |
...
Code Block |
---|
docker run -p 5432:5432 \
-v /local_postgres_data_folder:/var/db/postgres/data \
--net=host --pid=host \
--name postgres -d practiceinsight/dms_postgresql |
...
Code Block |
---|
docker run -p 9200:9200 -p 9300:9300 \
-v /local_elasticsearch_data_folder:/data \
--net=host --pid=host \
--name elastic -d practiceinsight/dms_elasticsearch |
...
Code Block |
---|
docker run -p 8080:8080 -p 9080:9080 \
-v /local_nuxeo_data_folder:/var/lib/nuxeo/data \
-v /local_config_folder:/etc/nuxeo \
--net=host --pid=host \
--name nuxeo practiceinsight/dms_nuxeo_suite:1.9.2 |
...