def __dump_docker_compose(path, content, already_existed):
    '''
    Dumps

    :param path:
    :param content: the not-yet dumped content
    :return:
    '''
    try:
        dumped = yaml.safe_dump(content, indent=2, default_flow_style=False)
        return __write_docker_compose(path, dumped, already_existed)
    except TypeError as t_err:
        msg = 'Could not dump {0} {1}'.format(content, t_err)
        return __standardize_result(False, msg,
                                    None, None)
Dumps

    :param path:
    :param content: the not-yet dumped content
    :return: