mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Merge pull request #196 from flatcar-linux/t-lo/sdk-container-fix-exact-match
run_sdk_container: use exact match for existing containers
This commit is contained in:
commit
4163920770
@ -77,7 +77,7 @@ if [ -z "$name" ] ; then
|
||||
name="flatcar-sdk-${arch}-${docker_sdk_vernum}_os-${docker_os_vernum}"
|
||||
fi
|
||||
|
||||
stat="$(docker ps --all --no-trunc --filter name="$name" --format '{{.Status}}'\
|
||||
stat="$(docker ps --all --no-trunc --filter name="^/$name\$" --format '{{.Status}}'\
|
||||
| cut -f1 -d' ')"
|
||||
|
||||
# pass SDK related environment variables and gcloud auth
|
||||
|
Loading…
x
Reference in New Issue
Block a user