install-docker-from-repos.sh 231 B

123456789
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. IFS=$' \n\t' # Internal Field Separator, controls word splitting,
  4. # default is $' \n\t'
  5. packages=(docker.io docker-compose docker-doc)
  6. sudo apt install -y "${packages[@]}"