Skip to content

Commit 768a6e4

Browse files
authored
Update README.md
1 parent 76f6b7a commit 768a6e4

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
1-
# docker-cloudcompare
1+
# CloudCompare on Docker
22

3-
CloudCompare in a container...just to play around.
3+
[CloudCompare] in a container...just to play around.
4+
5+
6+
## How to
7+
To run CC container & host must communicate X11 (Linux X window system) info, and so we need to run our container accordingly.
8+
There is a small tool to help us doing it that works pretty smooth for Linux and MacOS hosts -- never tested in Windows; looking for testers actually :) -- the tool is called [dockeri] and should be strightforward to have it running CC:
9+
10+
```
11+
$ dockeri -w /path/to/data/ chbrandt/cloudcompare
12+
```
13+
This will mount your host `/path/to/data` directory into container's `/work`.
14+
15+
16+
### I like it ugly
17+
If you are into pure `docker` command line, you should do something along the line (Linux host example):
18+
```
19+
$ docker run --rm -it -v /path/to/data:/work -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix:0 chbrant/cloudcompare
20+
```
21+
22+
[CloudCompare]: http://www.cloudcompare.org/
23+
[dockeri]: https://github.com/chbrandt/dockeri
424

525
/.\

0 commit comments

Comments
 (0)