使用Dockerfile出现如下问题
[docker@bogon sinatra]$ docker build -t="ouruser/sinatra:gem" .
unable to prepare context: unable to evaluate symlinks in Dockerfile path:
lstat /home/docker/sinatra/Dockerfile: no such file or directory
解决方法:
指定dockerfile,使用-f ,比如:docker build -t="ouruser/sinatra:gem" -f Dockerfile .