On what operating system? Which docker version? How did you install it from which repo? Please share the output of the following commands:
docker info
docker version
snap list docker
When you share the output, please, share each output in separate code blocks following this guide: How to format your forum posts