def _assert_has_docker_permissions() -> None:
    'Fails if the user does not have permissions to interact with Docker'
    if (not (os_utils.is_root() or os_utils.currently_in_group('docker'))):
        error_message = ((i18n.t('general.docker-bad-permissions') + '\n') + _group_recommendation_message('docker'))
        print_utils.fail(error_message)
Fails if the user does not have permissions to interact with Docker
def _assert_has_docker_permissions() -> None:
    
    if (not (os_utils.is_root() or os_utils.currently_in_group('docker'))):
        error_message = ((i18n.t('general.docker-bad-permissions') + '\n') + _group_recommendation_message('docker'))
        print_utils.fail(error_message)