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,639 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,050 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
1,729 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
6,716 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,300 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,090 points
2,474 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,050 points
2,662 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,050 points
11,648 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