Files
docker-cli/cli/command/container
Sebastiaan van Stijn b8bcf6f5ad container export: implement file-write with atomicwriter
Same functionality, but implemented with atomicwriter. There's a slight
difference in error-messages produced (but can be adjusted if we want).

Before:

    docker container export -o ./no/such/foo mycontainer
    failed to export container: invalid output path: directory "no/such" does not exist

    docker container export -o /no/permissions mycontainer
    failed to export container: stat /no/permissions: permission denied

After:

    docker container export -o ./no/such/foo mycontainer
    failed to export container: invalid file path: stat no/such: no such file or directory

    docker container export -o /no/permissions mycontainer
    failed to export container: failed to stat output path: lstat /no/permissions: permission denied

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-04-10 09:46:06 +02:00
..
2017-10-26 12:21:02 -04:00
2023-12-12 22:30:16 +01:00
2023-12-12 22:30:16 +01:00
2025-02-03 19:08:08 +01:00
2025-02-03 19:17:50 +01:00
2023-12-12 22:30:16 +01:00
2023-12-12 22:30:16 +01:00
2023-12-12 22:30:16 +01:00
2025-02-03 19:17:50 +01:00
2023-05-05 18:23:03 +02:00
2021-05-24 19:37:53 +01:00
2024-07-04 15:22:18 +02:00
2025-02-03 19:17:50 +01:00
2023-12-12 22:30:16 +01:00
2025-02-03 19:17:50 +01:00