Linux環境で定期的に実行させたい処理はcronで処理するのが一般的かと思います。 30分毎に exec.sh を実行する。
dockerコンテナをサービス化しようと思って、systemdで自動起動するようにsystemdのサービスを書いた。 方法自体は、公式にも書いてある。 Docker Docs Automatically start containers 要約すると、コンテナをdocker runして作って、そのコンテナをdocker start、docker stopするサービスを作ってねという。 じゃあ、docker pullからしようと思うとどうすんねんというあたりは、以下のブログに、詳しく書かれていた。 Running Docker Containers with Systemd - Container Solutions 試しに、registryを起動するのを以下のとおり作った。 [Unit] Description=Docker Registry Documentation=https://gi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く