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
2019-12-04 20:29:53 +08:00

11 lines
271 B
Bash
Executable File

#!/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 \
docker:latest sleep 86400000