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
#!/usr/bin/env bash | |
# Tries to open a shell in the main docker container (e.g. it ends in 'app' or 'api') | |
# Given a param, uses that as a pattern to look for at the end of the container name. | |
# | |
# Usage: | |
# | |
# dcsh <container_pattern> | |
set -o errexit # Exit on most errors (see the manual) |
OlderNewer