Last active
May 23, 2018 16:05
-
-
Save acro5piano/36ed115421e016a4e0e1026f631a61b0 to your computer and use it in GitHub Desktop.
ホスト側のCronで docker run する ref: https://qiita.com/acro5piano/items/a9ec64f78e7da304a661
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * * * * * docker exec some-container some-command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * * * * * docker run -i some-image some-command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -it -d --name some-container some-image tail -f /some/log.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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