Docker.Config

Summary

create_container(config)

Given a %Docker.Config{} struct, formats and returns a dictionary of the appropiate options for creating a container

format_environment(arg1)
format_ports(arg1)
format_volumes(arg1)
port_to_tuple(port)

Takes a port string, either a single port or : deliminated pair, and turns it into a two-element tuple

start_container(config)

Given a %Docker.Config{} struct, formats and returns a dictionary of the appropriate options for starting a container

Functions

create_container(config)

Given a %Docker.Config{} struct, formats and returns a dictionary of the appropiate options for creating a container.

format_environment(arg1)
format_ports(arg1)
format_volumes(arg1)
port_to_tuple(port)

Takes a port string, either a single port or : deliminated pair, and turns it into a two-element tuple.

start_container(config)

Given a %Docker.Config{} struct, formats and returns a dictionary of the appropriate options for starting a container.