Today in do docker custom image>, first prepared a the JDK. Tar. Gz with configured after Dockerfile file for docker build , then Sending the build context to docker daemon 1.3 G (then the baidu know why is so big, I all the tar. All gz into a directory, Dockerfile also created in this directory), but also to start download centos (began to also don't know Dockerfile file FROM meaning, don't know the meaning of the a dependent), so I have an emergency stop, but I find that hard disk space has been occupied for 1.3 G (before I begin to do mirror watched a computer E plate, the remaining 15 G, 13.7 G left after I end), I use the docker images and docker images - a didn't find the 1.3 G image file, then I perform, docker system prune didn't effect, after I will docker uninstalled, still did not release my 1.3 G space, give your bosses to instruct me,
Dockerfile file
The FROM centos: latest
MAINTAINER chenjiahao0205
ADD the JDK 8 u261 - Linux - x64. Tar. Gz/usr/local
ENV JAVA_HOME/usr/local/jdk1.8.0 _261
ENV CLASSPATH $JAVA_HOME/lib/dt. Jar: $JAVA_HOME/lib/tools. The jar
ENV PATH $PATH: $JAVA_HOME/bin
CMD Java - version