Accounting for multiple containers on the one machine

This commit is contained in:
finley 2025-07-29 21:16:01 -07:00
parent c2eb01b59a
commit bc7c99007b

View file

@ -2,5 +2,5 @@
## run by cmc user cron to run the vault inside docker
ID=$(docker ps -q)
ID=$(docker ps -f ancestor=cmc:latest --format "{{.ID}}" | head -n 1)
docker exec -t $ID /var/www/cmc-sales/run_vault.sh