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
3,673 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,040 points

Related Questions In Docker

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
3,674 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
3,697 views
0 votes
1 answer
+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,140 points
1,359 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,040 points
1,363 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,040 points
6,803 views