2018-11-01から1日間の記事一覧

Docker Compose (docker-compose.yml) でコマンドラインオプションを指定する方法

結論 command: を使います。 foobar: image: hoge/fuga command: --option_1=12345 --option_2=abcde

Itamae の remote_file 内で user メソッドを使ったら sudo できないと怒られて 1時間 ハマった

結論 公式ドキュメントを読みましょう。 なお、remote_file 内だけでの話ではなく、Resource Type 内での話です。 user String If you specified this, commands related with the resource will be executed as the user. つまりどういうことか 以下のよう…

Powered by はてなブログ