Use defined variable

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Use unlocked version of changes for GetImage

Fixes #7999

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Test for docker ps -s

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #8010 from LK4D4/fix_ps_s_hang_#7999

Fix ps -s hang