Writing /export/vhost/knowrob.org/docroot/data/meta/doc/docker.meta failed
Unable to save metadata file. Hint: disk full; file permissions; safe_mode setting.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:docker [2017/01/25 15:45]
daniel86 [Setting up mesh repositories]
doc:docker [2019/04/01 11:43] (current)
Line 1: Line 1:
-====== ​KnowRob and Docker ​======+====== ​Setting up your own openEASE server for development ​======
  
 This page collects information on the installation and usage of KnowRob with [[http://​www.docker.com|Docker]],​ a tool for easily creating and managing Linux containers. Using Docker, we have created a cloud-based infrastructure for providing KnowRob as a service via the Web. This page collects information on the installation and usage of KnowRob with [[http://​www.docker.com|Docker]],​ a tool for easily creating and managing Linux containers. Using Docker, we have created a cloud-based infrastructure for providing KnowRob as a service via the Web.
Line 84: Line 84:
 openEASE depends on rosjava. There are ubuntu packages available for ROS **hydro** and **indigo**. openEASE depends on rosjava. There are ubuntu packages available for ROS **hydro** and **indigo**.
 indigo is used by default, but you can change the ROS distribution by extending your environment:​ indigo is used by default, but you can change the ROS distribution by extending your environment:​
-  export OPENEASE_ROS_DISTRIBUTION="​hydro"+  export OPENEASE_ROS_DISTRIBUTION="​kinetic"
  
 It is required, that you have a container named ''​openease/​${OPENEASE_ROS_DISTRIBUTION}-knowrob-daemon''​ It is required, that you have a container named ''​openease/​${OPENEASE_ROS_DISTRIBUTION}-knowrob-daemon''​
Line 94: Line 94:
   export OPENEASE_MESHES="​git https://​github.com/​code-iai/​iai_maps,​$OPENEASE_MESHES"​   export OPENEASE_MESHES="​git https://​github.com/​code-iai/​iai_maps,​$OPENEASE_MESHES"​
   export OPENEASE_MESHES="​git https://​github.com/​code-iai/​iai_robots,​$OPENEASE_MESHES"​   export OPENEASE_MESHES="​git https://​github.com/​code-iai/​iai_robots,​$OPENEASE_MESHES"​
-  export OPENEASE_MESHES="​git https://​github.com/​PR2/​pr2_common,​$OPENEASE_MESHES"​+  export OPENEASE_MESHES="​git https://​github.com/​daniel86/​pr2_common,​$OPENEASE_MESHES"​
  
-===== Setting up remote login =====+===== Setting up remote login (optional) ​=====
 openEASE allows you to sign in via oAuth. openEASE allows you to sign in via oAuth.
 You have to register the openEASE app and acquire authentication and secret token from the service. You have to register the openEASE app and acquire authentication and secret token from the service.
Line 125: Line 125:
 A table with a row for each experiment is shown then. Press the "​Import"​ button in the A table with a row for each experiment is shown then. Press the "​Import"​ button in the
 right most column in order to import the mongo logs for one of the experiments. right most column in order to import the mongo logs for one of the experiments.
 +
 +===== Build own containers =====
 +If you modified something in openEASE web app, you can build the respective containers using
 +
 +  ./​scripts/​build
 +  ​
 +If there are changes in KnowRob repo, you can rebuild the KnowRob container image using
 +
 +  ./​scripts/​build knowrob
 +
 +It is suggested to run these two builds also after a fresh installation. ​
  
 ===== Offline openEASE ===== ===== Offline openEASE =====
Line 180: Line 191:
 With Ubuntu, you can stop the server by executing following command: With Ubuntu, you can stop the server by executing following command:
   sudo service mongodb stop   sudo service mongodb stop
 +  ​
 +==== when i try to browse my openEASE instance, I end up in a "​Welcome to nginx" page ====
 +
 +please follow these steps: ​
 +  ./​scripts/​stop-webrob
 +  docker rm docker-gen nginx
 +  ./​scripts/​start-webrob
  
 ==== Other docker problems ==== ==== Other docker problems ====