From f35807e7b34ab7fce06e7f8dfd61cf7610cefc3d Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Tue, 17 Mar 2026 18:16:06 +0900 Subject: [PATCH] install-by-docker: fix curl command for Windows compatibility Signed-off-by: Shizuo Fujita --- container-deployment/install-by-docker.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container-deployment/install-by-docker.md b/container-deployment/install-by-docker.md index 18aa2870..6f83a576 100644 --- a/container-deployment/install-by-docker.md +++ b/container-deployment/install-by-docker.md @@ -75,9 +75,11 @@ $ docker run -p 9880:9880 -v $(pwd)/tmp:/fluentd/etc fluent/fluentd:edge-debian Use `curl` command to post sample logs via HTTP like this: ```text -$ curl -X POST -d 'json={"json":"message"}' http://127.0.0.1:9880/sample.test +$ curl -X POST -d "json={\"json\":\"message\"}" http://127.0.0.1:9880/sample.test ``` +(Note: For Windows users, it is recommended to run this command in Command Prompt (cmd.exe). If using PowerShell, the JSON string may require different escaping rules to be parsed correctly.) + Use `docker ps` command to retrieve container ID and use `docker logs` command to check the specific container's log like this: ```text