I installed Docker desktop for mac. The version is 1.12.0-rc4-beta19
when I use docker build -t self/centos:java8 .
the image has no name or tag
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 1581ffcbfd7f 5 minutes ago 196.8 MB
What is wrong with the build command?