Fossil SCM

Added the interactive debugging shell command to the Quick Start section of the containers doc for easy cut-and-paste.

wyoung 2023-03-24 05:17 trunk
Commit 2f0144071a1cd376e340ebf7fa2d5a6e050652d05f5a60ae7d1c3389653adf58
1 file changed +7
--- www/containers.md
+++ www/containers.md
@@ -29,10 +29,17 @@
2929
This shows us remapping the internal TCP listening port as 9999 on the
3030
host. This feature of OCI runtimes means there’s little point to using
3131
the “`fossil server --port`” feature inside the container. We can let
3232
Fossil default to 8080 internally, then remap it to wherever we want it
3333
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
+```
3441
3542
Our stock `Dockerfile` configures Fossil with the default feature set,
3643
so you may wish to modify the `Dockerfile` to add configuration options,
3744
add APK packages to support those options, and so forth.
3845
3946
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button