I’m working on learning the rockon json template format so I can make a few containers of software that doesn’t exist in the list today.
I figured I’d start with Plex as there is already one out there I could use to learn from. I’m using the official docker container from plex but am getting an odd error. The docker logs give me:
s6-mkdir: warning: unable to mkdir /var/run/s6: Permission denied
I don’t know what is causing it. I installed the deluge rock-on to make sure it there wasn’t a docker install issue, and it’s running just fine…
Here’s the json file:
{
“plex”: {
“description”: “plex official”,
“ui”: {
“slug”: “web”
},
“website”: “https://www.plex.tv/”,
“icon”: “https://www.plex.tv/favicon.ico”,
“version”: “1.0”,
“volume_add_support”: true,
“containers”: {
“plex”: {
“image”: “plexinc/pms-docker”,
“launch_order”: 1,
“opts”: [
[
“–net”,
“host”
]
],
“uid”: -1,
“ports”: {
“32400”: {
“description”: “main port”,
“host_default”: 32400,
“label”: “main port”,
“protocol”: “tcp”,
“ui”: true
},
“3005”: {
“description”: “controlling Plex Home Theater via Plex Companion”,
“host_default”: 3005,
“label”: “plex companion control port”,
“protocol”: “tcp”,
“ui”: false
},
“8324”: {
“description”: “controlling Plex for Roku via Plex Companion”,
“host_default”: 8324,
“label”: “roku control port”,
“protocol”: “tcp”,
“ui”: false
},
“32469”: {
“description”: “DLNA Server tcp”,
“host_default”: 32469,
“label”: “DLNA Server tcp”,
“protocol”: “tcp”,
“ui”: false
},
“1900”: {
“description”: “DLNA Server udp”,
“host_default”: 1900,
“label”: “DLNA Server udp”,
“protocol”: “udp”,
“ui”: false
},
“32410”: {
“description”: “GDM network discovery 1”,
“host_default”: 32410,
“label”: “GDM network discovery 1”,
“protocol”: “udp”,
“ui”: false
}
,
“32412”: {
“description”: “GDM network discovery 1”,
“host_default”: 32412,
“label”: “GDM network discovery 1”,
“protocol”: “udp”,
“ui”: false
}
,
“32413”: {
“description”: “GDM network discovery 1”,
“host_default”: 32413,
“label”: “GDM network discovery 1”,
“protocol”: “udp”,
“ui”: false
}
,
“32414”: {
“description”: “GDM network discovery 1”,
“host_default”: 32414,
“label”: “GDM network discovery 1”,
“protocol”: “udp”,
“ui”: false
}}, "volumes": { "/config": { "description": "plex config", "label": "plex config" }, "/transcode": { "description": "transcode temp space", "label": "transcode temp space" }, "/data": { "description": "plex media", "label": "plex media" } }, "environment": { "PUID": { "description": "Enter a valid UID to run openHAB with. It must have full permissions to all Shares mapped in the previous step.", "label": "UID", "index": 1 }, "PGID": { "description": "Enter a valid GID to use along with the above UID. It(or the above UID) must have full permissions to all Shares mapped in the previous step.", "label": "GID", "index": 2 }, "TZ": { "description": "Timezone", "label": "Timezone", "index": 3 }, "PLEX_CLAIM": { "description": "Plex Claim Token", "label": "Plex Claim Token", "index": 4 }, "ADVERTISE_IP": { "description": "Enter the host IP address", "label": "Host IP", "index": 5 } } } }
}
}