mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Merge pull request #196 from flatcar-linux/scripts
run_sdk_container: use exact match for existing containers
This commit is contained in:
commit
7e3fdaf3ae
@ -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