Skip to content

Instantly share code, notes, and snippets.

@acro5piano
Last active May 23, 2018 16:05
Show Gist options
  • Select an option

  • Save acro5piano/36ed115421e016a4e0e1026f631a61b0 to your computer and use it in GitHub Desktop.

Select an option

Save acro5piano/36ed115421e016a4e0e1026f631a61b0 to your computer and use it in GitHub Desktop.
ホスト側のCronで docker run する ref: https://qiita.com/acro5piano/items/a9ec64f78e7da304a661
* * * * * docker exec some-container some-command
* * * * * docker run -i some-image some-command
docker run -it -d --name some-container some-image tail -f /some/log.log
docker run -it -d --name some-container some-image tail -f /some/log.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment