How do I clear the container to start before starting Docker?

when you start docker from the server, it also starts the previous container, causing some problems.

how to clear the container without enabling docker?

  • one way is to uninstall Docker and reinstall it.
  • how to clear it without uninstalling it?

the current practice is rm-rf / var/lib/docker , but all mirror containers, volumes, etc.

are cleared.
Apr.08,2021

docker ps-a, docker rm.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45cef-443a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45cef-443a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?