How are you persisting the volume used by the container? I do not see any mount parameter in your docker command.
You need to persist the volume of the container or it will create a new volume each time it is restarted and you will need to configure everything again.
This seems to be a docker issue, nothing to do with Elasticsearch or Kibana.