LoginSignup
0
0

More than 1 year has passed since last update.

LambdaをDockerコンテナイメージで動かす場合、rootユーザで実行されないらしい

Posted at

ここにも記載されているが、sbx_user1051というユーザで実行しているらしい。
https://dev.classmethod.jp/articles/check-os-layer-because-change-amazon-linux-2/
(しかも$HOMEなどは設定されていない)

そのため、自前のDocker環境でroot権限を使用してコマンドが成功しても、Lambdaで起動時にエラーになる場合がある。
私が現在seleniumでchrome動かそうとしてこの問題にぶち当たっている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0