mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
The cp integration fixture only needs a stopped container with prepared filesystem content. Running the container detached and immediately calling `docker wait` adds an extra daemon wait request that can race with short-lived fixture containers and fail before the copy behavior is exercised. Run the fixture command in the foreground and capture the resulting container ID with a cidfile so the container remains available for later cp assertions without the separate wait endpoint. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
7.3 KiB
7.3 KiB