Error saying build requires 1 argument See docker build --help

0 votes

I’m getting an error saying

"build" requires 1 argument. See 'docker build --help'
When I execute the following command
sudo docker build -t myrepo/redis
Jul 18, 2018 in Docker by Kalgi
• 2,680 points
5,789 views

1 answer to this question.

+1 vote

Try adding a period at the end of the command

sudo docker build -t myrepo/redis.

answered Jul 18, 2018 by Nilesh
• 7,060 points
Adding a Period helped actually.

Related Questions In Docker

0 votes
0 answers

"docker build" requires exactly 1 argument(s)

I'm attempting to build and tag an ...READ MORE

Apr 21, 2022 in Docker by pranav
• 2,590 points
2,966 views
0 votes
1 answer