Skip to content

Destination path already exists #258

@swgu98

Description

@swgu98

2025-10-27 17:06:42,856 cli.py:140 ERROR Destination path '/ssd1/gushiwei/docker-sq/new/5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef' already exists Traceback (most recent call last): File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/cli.py", line 131, in run cleanup=args.cleanup, File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/squash.py", line 99, in run return self.squash(image) File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/squash.py", line 134, in squash new_image_id = image.squash() File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/image.py", line 84, in squash ret = self._squash() File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/v2_image.py", line 101, in _squash self.layer_paths_to_move, self.old_image_dir, self.new_image_dir File "/home/gushiwei/.local/lib/python3.6/site-packages/docker_squash/image.py", line 514, in _move_layers shutil.move(os.path.join(src, layer_id), dest) File "/usr/lib64/python3.6/shutil.py", line 548, in move raise Error("Destination path '%s' already exists" % real_dst) shutil.Error: Destination path '/ssd1/gushiwei/docker-sq/new/5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef' already exists 2025-10-27 17:06:42,856 cli.py:145 ERROR Execution failed, consult logs above. If you think this is our fault, please file an issue: https://github.com/goldmann/docker-squash/issues, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions