def __init__(self,<EOL>image,<EOL>cmd,<EOL>working_dir,<EOL>host_dir,<EOL>memory_limit_mb=None,<EOL>exposed_ports=None,<EOL>entrypoint=None,<EOL>env_vars=None,<EOL>docker_client=None,<EOL>container_opts=None,<EOL>additional_volumes=None):
self._image = image<EOL>self._cmd = cmd<EOL>self._working_dir = working_dir<EOL>self._host_dir = host_dir<EOL>self._exposed_ports = exposed_ports<EOL>self._entrypoint = entrypoint<EOL>self._env_vars = env_vars<EOL>self._memory_limit_mb = memory_limit_mb<EOL>self._network_id = None<EOL>self._container_opts = container_opts<EOL>self._additional_volumes = additional_volumes<EOL>self.docker_client = docker_client or docker.from_env()<EOL>self.id = None<EOL>
Initializes the class with given configuration. This does not automatically create or run the container.

:param string image: Name of the Docker image to create container with
:param string working_dir: Working directory for the container
:param string host_dir: Directory in the host operating system that should be mounted to the ``working_dir`` on
    container
:param list cmd: Command to pass to container
:param int memory_limit_mb: Optional. Max limit of memory in MegaBytes this Lambda function can use.
:param dict exposed_ports: Optional. Dict of ports to expose
:param list entrypoint: Optional. Entry point process for the container. Defaults to the value in Dockerfile
:param dict env_vars: Optional. Dict of environment variables to setup in the container