Edit file (Mac ~/.bash_profile) (Linux: ~/.bashrc or ~/.zshrc) and add:
your_command_name () {
tty=
tty -s && tty=--tty
docker run \
$tty \
--rm \
your_docker/image "$@"Edit file (Mac ~/.bash_profile) (Linux: ~/.bashrc or ~/.zshrc) and add:
your_command_name () {
tty=
tty -s && tty=--tty
docker run \
$tty \
--rm \
your_docker/image "$@"