https://github.com/jamesnetherton/docker-stellarium
Stellarium running under docker
https://github.com/jamesnetherton/docker-stellarium
Last synced: about 1 month ago
JSON representation
Stellarium running under docker
- Host: GitHub
- URL: https://github.com/jamesnetherton/docker-stellarium
- Owner: jamesnetherton
- License: mit
- Created: 2015-05-07T16:04:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-04T13:06:17.000Z (over 6 years ago)
- Last Synced: 2024-10-19T21:18:00.816Z (7 months ago)
- Language: HCL
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# docker-stellarium
Browse the cosmos and control your telescope with [Stellarium](http://www.stellarium.org/en_CA/) running under Docker.
## Building the image
Clone this repository, change into the source directory and run:
```
docker build .
```## Running Stellarium
To start Stellarium do:
```
docker run -it \
-e DISPLAY=$DISPLAY \
-v /dev/shm:/dev/shm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.stellarium:/root/.stellarium \
--device /dev/dri/card0 \
--name stellarium \
jamesnetherton/stellarium
```To use the [telescope control plugin](http://www.stellarium.org/wiki/index.php/Telescope_Control_plug-in), you'll need to add a `--device` flag pointing at your RS232 port (usually `/dev/ttyS0`) or your USB->RS232 adapter (usually `/dev/ttyUSB0`).
When the application has launched, you'll be able to configure the telescope control plugin as per usual and point it at `/dev/ttyS0` or `/dev/ttyUSB0`.
```
docker run -it \
-e DISPLAY=$DISPLAY \
-v /dev/shm:/dev/shm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.stellarium:/root/.stellarium \
--device /dev/dri/card0 \
--device /dev/ttyUSB0 \
--name stellarium \
jamesnetherton/stellarium
```### Command line options
You can pass any of the usual [command line options](http://www.stellarium.org/wiki/index.php/Advanced_Use#Command_Line_Options) to stellarium by adding them onto the end of `docker run`. E.g to disable full screen mode on startup:
```
docker run -it \
-e DISPLAY=$DISPLAY \
-v /dev/shm:/dev/shm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.stellarium:/root/.stellarium \
--device /dev/dri/card0 \
--device /dev/ttyUSB0 \
--name stellarium \
jamesnetherton/stellarium --full-screen no
```