Accounting for multiple containers on the one machine
This commit is contained in:
parent
c2eb01b59a
commit
bc7c99007b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue