cjvt-valency/dockerfiles/database/get_mongo_container_name.sh

3 lines
57 B
Bash
Executable File

#!/bin/bash
docker ps | grep my-mongo | awk '{print $1}'