[Improvement]: allow using docker locally configured for DOCKER_HOST tcp/http values #1959
Open
1 task done
Labels
S-Triage
Awaiting decision for what to do
T-Improvement
Improvement or addition to existing features
Describe the improvement
My local setup requires using
DOCKER_HOST=tcp://localhost:2375
. Such configuration can not be used withshuttle run
command at least for versions0.51.0
, because it relies onconnect_with_local_defaults
method, that uses unix sockets forunix
and named pipe forwindows
.bollard
crate (starting from version 0.16.0) hasconnect_with_defaults
method, that tries all possible variants ofDOCKER_HOST
value types (sockets, named pipes, http, https).I suggest updating to the latest version of
bollard
cratereplace calls of
connect_with_local_defaults
toconnect_with_defaults
to fix cases when DOCKER_HOST is set up as tcp/http/httpsreplace calls of
connect_with_unix
toconnect_with_socket
, because it was renamedDuplicate declaration
The text was updated successfully, but these errors were encountered: