Installing custom build of Docker


I’m finding Compose is attempting to recreate some containers, however the issue with removing containers is preventing this from happening, thus failing the test. As a result, I have two questions:

a) Can we somehow disable preventing the removal of containers?


b) How do we go about installing our own build of Docker as a workaround (if this would work?)? I have attempted using the usual channels of installation, however each channel reports back that docker is installed (not requested as requisite service).

Many thanks.