#!/usr/bin/env bash if command -v docker &>/dev/null then echo docker exit fi if command -v apt &>/dev/null then echo apt exit fi if command -v apk &>/dev/null then echo apk exit fi echo unknown