After creating docker image using docker build I found there are 7-8 intermediate images. As per my knowledge intermediate images should be removed after successfully build, but not sure in my why still exists. I tried “–rm” and “–force-rm” option but no luck.
I know that in my case “Copy” command in Dockerfile is creating those images but I think it should be removed automatically.
Please suggest if anyone already faced this type of problems.
Thanks in advance