From e3c8cded6c47a2f7368f61a6dd9946ee49965b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=BC=E5=95=B8=E9=9A=8F=E9=A3=8E?= Date: Tue, 30 Jun 2020 09:45:57 +0800 Subject: [PATCH] fix examlpe with docker_image If `docker.enable` not be `true`, the worker will ignore docker provider's config, and just exec the command. so we need to doc it. --- docs/zh_CN/workers.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/zh_CN/workers.conf b/docs/zh_CN/workers.conf index 6d0c2d7..a9586c6 100644 --- a/docs/zh_CN/workers.conf +++ b/docs/zh_CN/workers.conf @@ -7,6 +7,11 @@ mirror_dir = "/srv/tunasync" concurrent = 10 interval = 1 +# ensure the exec user be add into `docker` group +[docker] +# in `command provider` can use docker_image and docker_volumes +enable = true + [manager] api_base = "http://localhost:12345" token = "some_token"