cjvt-valency/dockerfiles/database/get_container_name.sh

3 lines
61 B
Bash
Raw Normal View History

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