Docker Community Forums

Share and learn in the Docker community.

--force-rm vs --rm in docker build

Hi,

Are there any situations where intermediate containers still remain after building an image using docker build? I am a bit confused about these options.

Also if --rm is true by default and we cannot disable this behaviour on build why it still exists?