Fix #29547 Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: ca6c6f0765aeccdb2730d03c05bd965906df8cd4 Component: engine