Creating docker image from container for chronograf

Dear all,
I am pretty new to docker and influxdata. I have created some dashboards using chronograf in docker and connected with influxDB. I also have some Kapacitor’s tick scripts implemented within chronograf for downsampling. Now when I try to commit the chronograf container, neither the dashboards nor the tick scripts retains in the image. Can you help me please regarding this matter?

Thanks in advance.

With warm regards,
Subhadeep Datta