Merge pull request #6176 from thaJeztah/rm_use_AllowOverwriteDirWithFile

cli/command/container: don't set CopyToContainerOptions.AllowOverwriteDirWithFile
This commit is contained in:
Sebastiaan van Stijn
2025-07-14 23:17:34 +02:00
committed by GitHub
+1 -2
View File
@@ -398,8 +398,7 @@ func copyToContainer(ctx context.Context, dockerCLI command.Cli, copyConfig cpCo
}
options := container.CopyToContainerOptions{
AllowOverwriteDirWithFile: false,
CopyUIDGID: copyConfig.copyUIDGID,
CopyUIDGID: copyConfig.copyUIDGID,
}
if copyConfig.quiet {