URL construction and TLS detection for container engine connections.
Summary
Functions
Constructs a Tesla-compatible URL from a raw container engine URL.
Returns true if the URL uses the https scheme.
Returns true if DOCKER_TLS_VERIFY is set to a truthy value.
Functions
Constructs a Tesla-compatible URL from a raw container engine URL.
unix:///path→http+unix://<encoded_path>tcp://host:port→http://orhttps://(depending on TLS)https:///http://→ passed through
Returns true if the URL uses the https scheme.
@spec tls_verify?() :: boolean()
Returns true if DOCKER_TLS_VERIFY is set to a truthy value.