ログってなんぼ

エンジニアのメモです

Docker:Rails+Paperclipで「The difference between the request time and the current time is too large.」

f:id:Okisanjp:20161126165142p:plain

The difference between the request time and the current time is too large.

AWSから「時間ずれすぎ」と怒られました・・・

stackoverflow.com

$ docker run -d -v /etc/localtime:/etc/localtime:ro IMAGE_NAME

ホストのタイムゾーンファイルをコンテナにマウントしてしまえば大丈夫のようです