Add yourself to the docker group to be able to run containers as non-root (see Post-install steps for Linux).
This file contains hidden or 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
| repos="" | |
| sizes="" | |
| name_lens="" | |
| # Check if user is logged in | |
| if ! aws sts get-caller-identity &> /dev/null; then | |
| echo "ERROR: Seems like your SSO session is invalid. Please run" | |
| printf "\n $ aws sso login\n\n" | |
| echo "before you run the script." | |
| exit 1 |