docker build -t dockerTest/redis
docker: "build" requires 1 argument. See 'docker build --help'
This error occurs when you use the Dockerfile in the local directory This error can be avoided by adding a dot in the end as displayed below.
docker build -t dockerTest/redis .
Note that if you using docker 1.5 you can specify a Dockerfile in another place.
docker build -f, --file=""
Cheers,
Samitha
No comments:
Post a Comment