import re


def validate_container_name(name):
    """Make sure the container name conforms to Azure's expectations
    """
    label = '[a-z0-9]+(?:[a-z0-9\-]*[a-z0-9])*'
    validate_name = re.compile('^' + label + '$')
    return (
        len(name) >= 3 and len(name) <= 63 and bool(validate_name.match(name))
    )