docker: Fix docker installation failure caused by Docker 23 update
Reported error:
task: 'registry : Allow Docker to use an insecure registry'
msg: 'Destination directory /etc/docker does not exist'
Docker 23.0.0 was released on 1st February 2023 and it no longer creates this directory by default.
@msimonin this would be a good candidate for a backport to 7.X versions, what do you think?