This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash +X | |
# Script to install Docker on RHEL for TFE | |
# This script can be run separately or inserted into the userdata script. If inserted into a userdata script, remove the sudo commands as the userdata is already running with sudo | |
# This has been tested with selinuxmode set to permissive | |
# sudo setenforce Permissive | |
# To check selinuxmode | |
# getenforce | |
# Remove any docker components already installed |