To spin up any Docker images within a 2.0 Docker executor, I’ve always used
setup_remote_docker, which I think is Circle’s way of hooking into a Docker client to ensure all containers are spun up on remote machines and not within the build container. This has worked fine for my various use-cases so far.
However, I recently had cause to drop this command and try to set up Docker myself, in order to try to publish ports in a Docker-in-Docker configuration. This was unsuccessful, so I settled on a workaround.
However, I have just stumbled on some references to a command
setup-docker-engine around the forum, but this seems to be undocumented. What did this do, and is it still current? Should it be documented? I am wondering if this would have worked for my problem.