add missing docs for rm

Docker-DCO-1.1-Signed-off-by: Adrien Folie <folie.adrien@gmail.com> (github: folieadrien)
Merge pull request #6990 from folieadrien/missing-rm-api-docs

add missing api docs for #6863