DEV Community

loading...

Discussion on: Demystifying Docker Compose

Collapse
raghu_kn profile image
Raghu

May be a comment on would help further

$ docker-compose build db uses an image, skipping
Collapse
geekgalgroks profile image
Jenn Author

That is the output from docker-compose build command when I reran it for this post.

It doesn't have to build anything for the db as it is pulling down the Postgres image (which it has cached). I have a comment about it in the docker-compose.yml section. I'll add a bit more info there.