Compose: not using cached layers

Created on 18 Jan 2019  路  3Comments  路  Source: docker/compose

running docker-compose build does not use cached image layers with docker version 18.09.1 on OSX

8BFFB0AD-D0C1-43EC-9C80-838A7AD36677/20190118203737

All 3 comments

Seems that because i had

build:
  context: .

the cache wasn't being used

seems this is intended behaviour please see:

https://github.com/docker/compose/issues/5439

How did you solve the problem? I removed the context and cache_from directives like in #5439 mentioned but it didn't work.

Sorry I never found a resolution to this and switched to using docker commands

Was this page helpful?
0 / 5 - 0 ratings