1

Usually I building my docker images like this: docker build -f Dockerfile.example" -t private/box --force-rm --pull . Because I'm using docker compose, I've decided to setup building in docker-compose.yaml:

build:
    context: .
    dockerfile: "Dockerfile.example"

But how can I add --force-rm --pull parameters there? Didn't find any examples.

alexander.polomodov
  • 5,396
  • 14
  • 39
  • 46

0 Answers0