Fossil SCM
Added the interactive debugging shell command to the Quick Start section of the containers doc for easy cut-and-paste.
Commit
2f0144071a1cd376e340ebf7fa2d5a6e050652d05f5a60ae7d1c3389653adf58
Parent
9e73519c01ed10c…
1 file changed
+7
+7
| --- www/containers.md | ||
| +++ www/containers.md | ||
| @@ -29,10 +29,17 @@ | ||
| 29 | 29 | This shows us remapping the internal TCP listening port as 9999 on the |
| 30 | 30 | host. This feature of OCI runtimes means there’s little point to using |
| 31 | 31 | the “`fossil server --port`” feature inside the container. We can let |
| 32 | 32 | Fossil default to 8080 internally, then remap it to wherever we want it |
| 33 | 33 | on the host instead. |
| 34 | + | |
| 35 | +For debugging the live container while it runs, you can get an interactive | |
| 36 | +shell like so: | |
| 37 | + | |
| 38 | +``` | |
| 39 | + $ docker exec -it -u fossil fossil sh | |
| 40 | +``` | |
| 34 | 41 | |
| 35 | 42 | Our stock `Dockerfile` configures Fossil with the default feature set, |
| 36 | 43 | so you may wish to modify the `Dockerfile` to add configuration options, |
| 37 | 44 | add APK packages to support those options, and so forth. |
| 38 | 45 | |
| 39 | 46 |
| --- www/containers.md | |
| +++ www/containers.md | |
| @@ -29,10 +29,17 @@ | |
| 29 | This shows us remapping the internal TCP listening port as 9999 on the |
| 30 | host. This feature of OCI runtimes means there’s little point to using |
| 31 | the “`fossil server --port`” feature inside the container. We can let |
| 32 | Fossil default to 8080 internally, then remap it to wherever we want it |
| 33 | on the host instead. |
| 34 | |
| 35 | Our stock `Dockerfile` configures Fossil with the default feature set, |
| 36 | so you may wish to modify the `Dockerfile` to add configuration options, |
| 37 | add APK packages to support those options, and so forth. |
| 38 | |
| 39 |
| --- www/containers.md | |
| +++ www/containers.md | |
| @@ -29,10 +29,17 @@ | |
| 29 | This shows us remapping the internal TCP listening port as 9999 on the |
| 30 | host. This feature of OCI runtimes means there’s little point to using |
| 31 | the “`fossil server --port`” feature inside the container. We can let |
| 32 | Fossil default to 8080 internally, then remap it to wherever we want it |
| 33 | on the host instead. |
| 34 | |
| 35 | For debugging the live container while it runs, you can get an interactive |
| 36 | shell like so: |
| 37 | |
| 38 | ``` |
| 39 | $ docker exec -it -u fossil fossil sh |
| 40 | ``` |
| 41 | |
| 42 | Our stock `Dockerfile` configures Fossil with the default feature set, |
| 43 | so you may wish to modify the `Dockerfile` to add configuration options, |
| 44 | add APK packages to support those options, and so forth. |
| 45 | |
| 46 |