@@ -25,21 +25,27 @@ docker create \
25
25
--net=bridge \
26
26
-v <path to data>:/config \
27
27
-e PGID=<gid> -e PUID=<uid> \
28
+ -e TZ=<timezone> \
28
29
-p 8080:8080 \
29
30
-p 1443:1443 \
30
31
-p 6144:6144 \
31
- --device=/dev/ttyUSB0 \
32
+ --device=<path to device> \
32
33
linuxserver/domoticz
33
34
```
34
35
35
36
36
- ** Parameters**
37
+ ## Parameters
38
+
39
+ `The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
40
+ For example with a port -p external: internal - what this shows is the port mapping from internal to external of the container.
41
+ So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
42
+ http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.`
37
43
38
44
* ` -p 1234 ` - the port(s)
39
- * ` -v /config ` - explain what lives here
45
+ * ` -v /config ` - location for the config files
40
46
* ` -e PGID ` for GroupID - see below for explanation
41
47
* ` -e PUID ` for UserID - see below for explanation
42
- * ` --device=/dev/ttyUSB0 ` - for passing through USB devices
48
+ * ` --device ` - for passing through USB devices
43
49
* ` -e TZ ` - for timezone information * eg Europe/London, etc*
44
50
45
51
It is based on alpine linux with s6 overlay, for shell access whilst the container is running do ` docker exec -it domoticz /bin/bash ` .
@@ -79,6 +85,15 @@ The user manual is available at [www.domoticz.com](https://www.domoticz.com)
79
85
* Shell access whilst the container is running: ` docker exec -it domoticz /bin/bash `
80
86
* To monitor the logs of the container in realtime: ` docker logs -f domoticz `
81
87
88
+ * container version number
89
+
90
+ ` docker inspect -f '{{ index .Config.Labels "build_version" }}' domoticz `
91
+
92
+ * image version number
93
+
94
+ ` docker inspect -f '{{ index .Config.Labels "build_version" }}' domoticz `
95
+
82
96
## Versions
83
97
84
- + ** 10.10.2016:** Initial release.
98
+ + ** 26.11.2016:** Update README to new standard and getting ready for release.
99
+ + ** 10.10.2016:** Initial dev release.
0 commit comments