1
0
mirror of https://github.com/newnius/YAO-docs.git synced 2024-07-06 05:15:18 +00:00
YAO-docs/sbin/run_agent_helper.sh

12 lines
330 B
Bash
Raw Permalink Normal View History

2019-12-04 12:29:53 +00:00
#!/bin/bash
docker run \
--name yao-agent-helper \
-d \
--restart always \
--detach=true \
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
2020-07-02 06:35:24 +00:00
--mount type=bind,src=/dfs/yao-jobs/,dst=/dfs/yao-jobs/ \
2019-12-04 12:29:53 +00:00
docker:latest sleep 86400000