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
4,867 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

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,001 views
0 votes
1 answer
+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

answered Mar 27, 2018 in Docker by DragonLord999
• 8,450 points
7,863 views
0 votes
1 answer

Error saying "E: This command can only be used by root." while installing docker

Try executing the following command: sudo su and ...READ MORE

answered Aug 6, 2019 in Docker by Ahmad
6,898 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
0 votes
2 answers

How can I inspect the file system of a failed `docker build

Failed command is a build that has ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 7,060 points
3,131 views
0 votes
1 answer

Error while trying to run an image - Docker

This error means that the container tries ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 7,060 points
12,321 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP