Docker containers lock

Hi team,

Sometimes we delete container accidently and feel bad after that. I like to know the command which helps me to stop container delete. i have seen in few forums, people mentioned about docker lock … but its not working. Hence, i like to know exact command and way to protect my containers from accidental deletion. Pls assist me.

Regards,
Digil