lsb_release does not have an option '-u' so this check will always result as false. It could just check for the '-a' option. https://github.com/docker/docker-install/blob/15dfae02a4bcd13d9da9cc77c818c41407f3e276/install.sh#L308 The issue with this, is that the else statement checks the '-r' option so the script will likely to fail in all Debian based distros. https://github.com/docker/docker-install/blob/15dfae02a4bcd13d9da9cc77c818c41407f3e276/install.sh#L328