We’re wondering if the pants docker_image can use ...
# general
w
We’re wondering if the pants docker_image can use https://depot.dev/ - its supposedly a drop in cli replacement. Is there a way to override the docker command that’s used?
h
As a silly idea, maybe you could remap the docker executable on system to actually point to depot
e
I have done exactly this by using podman instead of docker. Easy in that case since it provides a
docker
drop-in shim that is cli compatible.
h
Maybe using the executable search paths option, you could do that trick
c
if you search for "docker shim" in this workspace, you'll find previous threads on this topic, such as https://pantsbuild.slack.com/archives/C046T6T9U/p1684159227889179 for instance.
w
Thanks, i figured it would be some path based trickery.