FerryDocs
ConceptsDatastores

Delete a datastore

A delete removes the container and its volume. You lose the data, and there is no undo.

Edit on GitHub
Terminal
ferry db rm app-db
referenceferry db rmContainerapp-dbVolumethe dataService apiDATABASE_URL

A datastore is one container and one volume.

1 / 3

There is no undo

The command removes the and its . Back up the data first.

If a service uses the datastore

Ferry refuses, and lists each service that has a to the .

Terminal
error: still in use — re-run with --force to delete it anyway: datastore 'app-db' is referenced by service 'api' (DATABASE_URL); they would fail to deploy or restart without it. Remove the references first, or delete with force=true (conflict)

Remove the references first. Or delete the datastore anyway:

Terminal
ferry db rm app-db --force

Then those services fail at their next deploy or restart.

On this page