diff --git a/lib/docker/api.ex b/lib/docker/api.ex index 0c53a7d..3f324af 100644 --- a/lib/docker/api.ex +++ b/lib/docker/api.ex @@ -5,7 +5,7 @@ defmodule Testcontainers.Docker.Api do alias DockerEngineAPI.Api alias Testcontainers.Container alias Testcontainers.ReaperWorker - alias Testcontainers.Connection + alias Testcontainers.Docker.Connection def run(%Container{} = container_config, options \\ []) do on_exit = Keyword.get(options, :on_exit, nil) diff --git a/lib/docker/connection.ex b/lib/docker/connection.ex index 951771a..162a199 100644 --- a/lib/docker/connection.ex +++ b/lib/docker/connection.ex @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -defmodule Testcontainers.Connection do +defmodule Testcontainers.Docker.Connection do alias DockerEngineAPI.Connection @default_host "unix:///var/run/docker.sock" diff --git a/lib/docker/exec.ex b/lib/docker/exec.ex index 03b623b..c309f74 100644 --- a/lib/docker/exec.ex +++ b/lib/docker/exec.ex @@ -1,7 +1,7 @@ defmodule Testcontainers.Docker.Exec do @moduledoc false - alias Testcontainers.Connection + alias Testcontainers.Docker.Connection def inspect(exec_id, options \\ []) do conn = Connection.get_connection(options)