Testcontainers.Docker.Api (testcontainers v1.14.1)

Copy Markdown View Source

Internal docker api. Only for direct use by Testcontainers

Summary

Functions

create_container(container, conn)

create_network(name, conn, opts \\ [])

Creates a Docker network.

get_bridge_gateway(conn)

get_container(container_id, conn)

get_container_by_hash(hash, conn)

inspect_exec(exec_id, conn)

network_exists?(name, conn)

Checks if a network exists.

pull_image(image, conn, opts \\ [])

put_file(container_id, connection, path, file_name, file_contents)

remove_network(name, conn)

Removes a Docker network.

start_container(id, conn)

start_exec(container_id, command, conn)

stdout_logs(container_id, conn)

stop_container(container_id, conn)

tag_image(image, repo, tag, conn)