Bug 538348 - Improve the Dockerfile to write resources on the host machine
Summary: Improve the Dockerfile to write resources on the host machine
Status: CLOSED WONTFIX
Alias: None
Product: Sirius
Classification: Modeling
Component: Server (show other bugs)
Version: 6.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Stephane Begaudeau CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-08-28 08:37 EDT by Stephane Begaudeau CLA
Modified: 2021-06-06 12:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2018-08-28 08:37:36 EDT
We should make sure that the resources manipulated by the Docker container are written on the host machine and not inside of the container.


developer@293be829e452:~/sirius-server$ ./sirius-server -configuration ./
Unable to init server: Could not connect: Connection refused
Sirius-server: Cannot open display:
Invalid Configuration Location:
The configuration area at '/home/developer/sirius-server/.' is not writable.  Please choose a writable location using the '-configuration' command line option.
Comment 1 Maxime Porhel CLA 2018-10-08 06:38:44 EDT
Please provide some steps to reproduce/validate once this will be improved/handled
Comment 2 Stephane Begaudeau CLA 2018-10-08 07:39:53 EDT
Steps to reproduce:

- docker pull eclipsesirius/sirius-server
- docker run -p 8080:8080 -i -t sirius-server:latest
- ./sirius-server

With the container coming from DockerHub, not a container built locally. The configuration area should be located outside of the container (along with the whole workspace).