My guess is that your problem was that you were out of disk space, but the error is above where you started copying the logs.
It’s the same as running the docker prune command except you don’t have to know about the docker prune command.
I think it’s safe to sleep.