mirror of
https://github.com/aelve/guide.git
synced 2024-11-29 06:23:17 +03:00
5 lines
178 B
Bash
5 lines
178 B
Bash
|
function run_back() {
|
||
|
containerID=$(docker run -d -p 4400:4400 "quay.io/aelve/guide:$1--back")
|
||
|
until docker logs $containerID 2>&1 | grep -m 1 "API is running"; do :; done
|
||
|
}
|