question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to mount CHE_WORKSPACE_VOLUME

See original GitHub issue

Description

I’m trying to pass maven configuration by mounting CHE_WORKSPACE_VOLUME with this command docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v D:\Tools\che-data:/data -e CHE-WORKSPACE-VOLUME=D:\Tools\che-conf:/home/user/.m2 eclipse/che start

My settings.xml file is located in D:\Tools\che-conf I reproduced this closed issue but it failed. When I print the listed files/folders in any container-workspace, I did not find any .m2 folder or settings.xml file

Reproduction Steps

Just running the above command

OS and version:
Host: Windows 10 Eclipse che: latest

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 12, 2018

@mulhauser no

CHE-WORKSPACE-VOLUME should be CHE_WORKSPACE_VOLUME

Unix format is /d/Tools/che-data

0reactions
mulhausercommented, Apr 12, 2018

I close this issue and this the following working command line: docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v D:\Tools\che-data:/data -e CHE_WORKSPACE_VOLUME=/d/Tools/che-conf:/home/user/.m2:ro,Z eclipse/che start

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to mount volume to workspace - eclipse/che - GitHub
More a question than an issue. I tried different ways to mount a volume to my workspaces, but all failed (with 5.0 and...
Read more >
Solved: AppVolume 4.0 - Unable to mount provisioning volum...
Solved: Hello guys, I get the following error when I will package: Unable to mount provisioning volume "Package_Name" ​Any idea?
Read more >
Solution to LINUX error "Unable to Mount Location ... - YouTube
Linux - Unable to mount locationmessage that I got was: Error mounting /dev/sdb5 at /media/aquilo/01CCD61542FA02C0: Command-line `mount -t ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found