Docker stop

To stop YDB in Docker, run the following command:

docker stop ydb-local

If the --rm flag was specified at startup, the container will be deleted after stopping.

Kill Docker container with YDB

To delete a Docker container with YDB, run the following command:

docker kill ydb-local

If you want to clean up the file system, delete your work directory using the rm -rf ~/ydbd command. This will permanently remove all data inside the local YDB cluster.