Error Permission Denied when start a new container based on a new image(New image was made based on a container)

Pull an image from docker Hub to the local, and then start the container by【 docker run --name ** -d -p 1025:1025-v local path/a.properties:container path/a.properties name】.
And then i made a new image by using docker commit based on the container, after that, i start a new container based on the new image, but it give an error: Unable to store settings: container path/a.properties (Permission denied)
Is any one can help me solve this problem? thanks very much.

I don’t understand your command. What is the image name? This local path/a.properties:container path/a.properties name doesn’t look like that. And how did you started the new container?

Please, give us a reproducable example or at least syntactically right commands