Hey @kvickery, this is probably better asked as a new discussion topic, as it's about Docker and not .NET client with Visual Basic.
I suspect that the issue is path.data used by Elasticsearch to persist data is not pointing to a persistent location e.g. a docker volume, but to the writable container layer which doesn't persist when the container no longer exists..
See the documentation for an example of setting up a volume with Docker compose.