cjvt-valency/dockerfiles/database/get_container_name.sh

3 lines
57 B
Bash
Raw Normal View History

2019-03-14 23:03:10 +00:00
#!/bin/bash
docker ps | grep my-mongo | awk '{print $1}'