Consul failed to start

Error starting agent: Failed to start Consul server: Failed to start Raft: failed to load any existing snapshots
Login to the consul container having errors using docker connect command.

root@consul-1:/#supervisorctl status
consul-server FATAL Exited too quickly (process log may have details)

Hi @abhishekellendula258,

Welcome to the HashiCorp Forums!

Did you manage to get this sorted? The probable reason for this error could be that you don’t have the Consul data directories appropriately mounted into the container. When Consul starts it would look for existing snapshots inside the <consul-data-dir>/raft/snapshots.