Przeglądaj źródła

:memo: Docker containers run in the background https://github.com/siyuan-note/siyuan/pull/9602

Daniel 1 rok temu
rodzic
commit
e6ad79b050

+ 13 - 9
app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy

@@ -6,7 +6,7 @@
 		"id": "20201227201128-m1wrouw",
 		"title": "Docker hosting",
 		"type": "doc",
-		"updated": "20230406105617"
+		"updated": "20231108220523"
 	},
 	"Children": [
 		{
@@ -396,7 +396,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20210301202938-prn2v5a",
-				"updated": "20210824203825"
+				"updated": "20231108220518"
 			},
 			"Children": [
 				{
@@ -417,7 +417,11 @@
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+					"TextMarkTextContent": "docker run -d -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+				},
+				{
+					"Type": "NodeText",
+					"Data": "​"
 				}
 			]
 		},
@@ -519,7 +523,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20201227201751-yyfayag",
-				"updated": "20211112103126"
+				"updated": "20231108220523"
 			},
 			"Children": [
 				{
@@ -533,7 +537,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " and "
+					"Data": " and "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -542,7 +546,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " are configured as "
+					"Data": " are configured as "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -551,16 +555,16 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": ", the corresponding startup commands is: "
+					"Data": ", the corresponding startup commands is: "
 				},
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
+					"TextMarkTextContent": "docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
 				},
 				{
 					"Type": "NodeText",
-					"Data": "."
+					"Data": "."
 				}
 			]
 		},

+ 13 - 9
app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20201227173504-847cs1q.sy

@@ -6,7 +6,7 @@
 		"id": "20201227173504-847cs1q",
 		"title": "Docker 伺服",
 		"type": "doc",
-		"updated": "20230406105236"
+		"updated": "20231108220452"
 	},
 	"Children": [
 		{
@@ -396,7 +396,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20210301201353-sffb1m7",
-				"updated": "20210824203629"
+				"updated": "20231108220447"
 			},
 			"Children": [
 				{
@@ -417,7 +417,11 @@
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+					"TextMarkTextContent": "docker run -d -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+				},
+				{
+					"Type": "NodeText",
+					"Data": "​"
 				}
 			]
 		},
@@ -523,7 +527,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20201227194509-hdnzkry",
-				"updated": "20211112103117"
+				"updated": "20231108220452"
 			},
 			"Children": [
 				{
@@ -537,7 +541,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " 和 "
+					"Data": " 和 "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -546,7 +550,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " 都配置为 "
+					"Data": " 都配置为 "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -555,16 +559,16 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": ",对应的启动命令示例:"
+					"Data": ",对应的启动命令示例:"
 				},
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
+					"TextMarkTextContent": "docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
 				},
 				{
 					"Type": "NodeText",
-					"Data": "。"
+					"Data": "。"
 				}
 			]
 		},

+ 13 - 9
app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122459-08mi5cq.sy

@@ -5,7 +5,7 @@
 	"Properties": {
 		"id": "20211226122459-08mi5cq",
 		"title": "Docker 伺服",
-		"updated": "20230630170719"
+		"updated": "20231108220609"
 	},
 	"Children": [
 		{
@@ -373,7 +373,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20211226122519-ajimm1z",
-				"updated": "20211228141917"
+				"updated": "20231108220606"
 			},
 			"Children": [
 				{
@@ -394,7 +394,11 @@
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+					"TextMarkTextContent": "docker run -d -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container"
+				},
+				{
+					"Type": "NodeText",
+					"Data": "​"
 				}
 			]
 		},
@@ -485,7 +489,7 @@
 			"Type": "NodeParagraph",
 			"Properties": {
 				"id": "20211226122519-yggdi08",
-				"updated": "20211228141927"
+				"updated": "20231108220609"
 			},
 			"Children": [
 				{
@@ -499,7 +503,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " 和 "
+					"Data": " 和 "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -508,7 +512,7 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": " 都配置為 "
+					"Data": " 都配置為 "
 				},
 				{
 					"Type": "NodeTextMark",
@@ -517,16 +521,16 @@
 				},
 				{
 					"Type": "NodeText",
-					"Data": ",對應的啟動指令示例:"
+					"Data": ",對應的啟動指令示例:"
 				},
 				{
 					"Type": "NodeTextMark",
 					"TextMarkType": "code",
-					"TextMarkTextContent": "docker run -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
+					"TextMarkTextContent": "docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/"
 				},
 				{
 					"Type": "NodeText",
-					"Data": "。"
+					"Data": "。"
 				}
 			]
 		},