before docker cp, while wait