求指点:/bin/sh: -c: line 0: unexpected EOF while looking for matching `“‘

dockerfile文件如下: 

FROM centos
MAINTAINER SHUJI
VOLUME ["/data1","/data2"]

运行容器报错如下:

[root@Hadoop2 learn_docker]# docker run   b88e87e33d46 
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
[root@Hadoop2 learn_docker]# 

这个英文引号我注意了,报这个错;即使dockerfile只写一条FROM centos依旧报上面的错误,跪求各位有经验的兄弟,指点迷津呀~~

你可能感兴趣的:(java,前端,服务器)