version: '3' services: ... job: &job image: ... build: . volumes: - ./:/app - gems:/bundle ... depends_on: - postgres - redis - fluentd command: bundle exec rails jobs:work environment: ... api: <<: *job command: bundle exec rails s -p 3333 -b 0.0.0.0 ports: - "3333:3333" volumes: gems: ... macOS 上で動かしたときと比べ、とある単純な Web API の応答時間が10倍くらいになりました(25ms/req → 250ms/req)。 対策 最近追加されたマウントオプション(consistency オ