How to fully clean docker container

I found this issue, when simply remove the containter with docker rm. Seems there are something else still in my computer.

For example. I start a game from below command

docker run -d -p 8080:80 alexwhen/docker-2048

I play several times, and it records the highest score.

Then I delete the container and run it again, I found the highest score is not reset to zero.

So How to fully clean docker container?

Hi Bill,

That high score is stored in your browser, not in the container. If you open in incognito window or clear your browser’s cache, you will see high score as 0.