lib/Beberlei/AzureBlobStorage/BlobClient.php
public static function isValidContainerName($containerName = '')
    {
        if ($containerName == '$root') {
            return true;
        }

        if (preg_match("/^[a-z0-9][a-z0-9-]*$/", $containerName) === 0) {
            return false;
        }

        if (strpos($containerName, '--') !== false) {
            return false;
        }

        if (strtolower($containerName) != $containerName) {
            return false;
        }

        if (strlen($containerName) < 3 || strlen($containerName) > 63) {
            return false;
        }

        if (substr($containerName, -1) == '-') {
            return false;
        }

        return true;
    }
public static function isValidContainerName($containerName = '')
    {
        if ($containerName == '$root') {
            return true;
        }

        if (preg_match("/^[a-z0-9][a-z0-9-]*$/", $containerName) === 0) {
            return false;
        }

        if (strpos($containerName, '--') !== false) {
            return false;
        }

        if (strtolower($containerName) != $containerName) {
            return false;
        }

        if (strlen($containerName) < 3 || strlen($containerName) > 63) {
            return false;
        }

        if (substr($containerName, -1) == '-') {
            return false;
        }

        return true;
    }
Is valid container name?

@param string $containerName Container name
@return boolean