From 71027041c877f8a67da2a3dfe30f1d5f180d5864 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 04:38:48 -0700 Subject: [PATCH] docs(readme): add container shell access commands --- README.md | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 86a36c29..9a972035 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,10 @@ - [Build Error: s6-rc-compile: fatal: invalid /etc/s6-overlay/s6-rc.d/certsync/type: must be oneshot, longrun, or bundle](#build-error-s6-rc-compile-fatal-invalid-etcs6-overlays6-rcdcertsynctype-must-be-oneshot-longrun-or-bundle) - [Build Error: unable to exec /etc/s6-overlay/s6-rc.d/init-envfile/run: Permission denied](#build-error-unable-to-exec-etcs6-overlays6-rcdinit-envfilerun-permission-denied) - [Extra Notes](#extra-notes) + - [Accessing Container Shell](#accessing-container-shell) + - [ash](#ash) + - [sh](#sh) + - [bash](#bash) - [Custom Docker Image Scripts](#custom-docker-image-scripts) - [🏆 Dedication](#-dedication) - [✨ Contributors](#-contributors) @@ -614,10 +618,10 @@ This docker container contains the following env variables: | Env Var | Default | Description | | --- | --- | --- | -| `TZ` | `Etc/UTC` | Timezone to use for error / log reporting | -| `WEB_IP` | `0.0.0.0` | This will allow you to change the default bind IP | -| `WEB_PORT` | `4124` | Out of box, this image binds to the IP `0.0.0.0`. Use this variable to change the binding IP | -| `URL_REPO` | `https://git.binaryninja.net/BinaryNinja/` | This variable determines where the data files will be downloaded from. Do not change this or you will be unable to get M3U and EPG data. | +| `TZ` | `Etc/UTC` | Timezone for error / log reporting | +| `WEB_IP` | `0.0.0.0` | Port to use for webserver | +| `WEB_PORT` | `4124` | IP to use for webserver | +| `URL_REPO` | `https://git.binaryninja.net/BinaryNinja/` | Determines where the data files will be downloaded from. Do not change this or you will be unable to get M3U and EPG data. |
@@ -717,6 +721,37 @@ The following are other things to take into consideration when creating the TVAp
+### Accessing Container Shell + +The TVApp2 docker image is built on Alpine Linux, but also includes the `bash` package. Use one of the following to access the shell for this container: + +
+ +#### ash + +```shell +docker exec -it tvapp2 ash +``` + +
+ +#### sh + +```shell +docker exec -it tvapp2 sh +``` + +
+ +#### bash + +```shell +docker exec -it tvapp2 bash +``` + +
+
+ ### Custom Docker Image Scripts These instructions are for **Advanced Users Only**