When you trying to remove  unwanted docker images from the Linux system and may get an error like, 

Command syntax :

 docker  rmi   Image_ID

root@localhost#   docker rmi 82c47831d960

Error response from daemon: Conflict, cannot delete 82c47831d960 because the container 16238c34c291 is using it, use -f to force
FATA[0000] Error: failed to remove one or more images 

First you need to find the Docker image ID and remove it.

find container ID,
#  docker ps -a

#  docker images

Remove the Container:
#  docker rm  82c47831d960