11.configure_and_start_docker.sh 400 B

12345678910111213141516
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. echo "Open Docker from Finder > Applications and start Docker daemon..."
  7. echo " Also, in 'Preferences' > 'Resources' > 'Memory' set needed Memory amount"
  8. echo " (Selenium jobs limit is between 4Gb and 6Gb each)"
  9. read -p "Press enter to continue"
  10. # setup docker
  11. sudo groupadd docker || true
  12. sudo gpasswd -a $USER docker || true