Post attachments doesn’t show after manual db import

As i understand you have used a function like get_template_directory_uri() or a similar one for your image URLs. This way I believe you are only saving relative URL. So domain change is reflected on the URL change. If you want the images to point to the old domain then you should hard code in the template of your new domain although hard-coding is not suggested.