While setting up a new build machine (CentOS 7, Docker CE 17.12.0-ce), I did a simple test:
docker run -it --rm ubuntu bash
Which worked fine,
You could force-remove it
docker rmi [IMAGE ID] -f or docker rmi [IMAGE ID] --force
docker rmi [IMAGE ID] -f
docker rmi [IMAGE ID] --force