'Deploy an installed container image
For details on the additional parameters see : http://bit.ly/1PjMVKV
:param name: The name of the new container
:type  name: ``str``
:param image: The container image to deploy
:type  image: :class:`libcloud.container.base.ContainerImage`
:param parameters: Container Image parameters
:type  parameters: ``str``
:param start: Start the container on deployment
:type  start: ``bool``
:rtype: :class:`Container`'

def deploy_container(self, name, image, parameters=None, start=True, command=None, hostname=None, user='', stdin_open=True, tty=True, mem_limit=0, ports=None, environment=None, dns=None, volumes=None, volumes_from=None, network_disabled=False, entrypoint=None, cpu_shares=None, working_dir='', domainname=None, memswap_limit=0, port_bindings=None, network_mode='bridge', labels=None):

    command = shlex.split(str(command))
    if (port_bindings is None):
        port_bindings = {}
    params = {'name': name}
    payload = {'Hostname': hostname, 'Domainname': domainname, 'ExposedPorts': ports, 'User': user, 'Tty': tty, 'OpenStdin': stdin_open, 'StdinOnce': False, 'Memory': mem_limit, 'AttachStdin': True, 'AttachStdout': True, 'AttachStderr': True, 'Env': environment, 'Cmd': command, 'Dns': dns, 'Image': image.name, 'Volumes': volumes, 'VolumesFrom': volumes_from, 'NetworkDisabled': network_disabled, 'Entrypoint': entrypoint, 'CpuShares': cpu_shares, 'WorkingDir': working_dir, 'MemorySwap': memswap_limit, 'PublishAllPorts': True, 'PortBindings': port_bindings, 'NetworkMode': network_mode, 'Labels': labels}
    data = json.dumps(payload)
    try:
        result = self.connection.request(('/v%s/containers/create' % self.version), data=data, params=params, method='POST')
    except Exception as e:
        message = (e.message or str(e))
        if message.startswith('No    such    image:'):
            raise DockerException(None, ('No    such    image:    %s' % image.name))
        else:
            raise DockerException(None, e)
    id_ = result.object['Id']
    payload = {'Binds': [], 'PublishAllPorts': True, 'PortBindings': port_bindings}
    data = json.dumps(payload)
    if start:
        if (float(self._get_api_version()) > 1.22):
            result = self.connection.request(('/v%s/containers/%s/start' % (self.version, id_)), method='POST')
        else:
            result = self.connection.request(('/v%s/containers/%s/start' % (self.version, id_)), data=data, method='POST')
    return self.get_container(id_)
