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,620 points
471 views

1 answer to this question.

0 votes

Try adding a period at the end of the command

sudo docker build -t myrepo/redis.

answered Jul 18, 2018 by Nilesh
• 6,880 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 26, 2018 in Docker by DragonLord999
• 8,380 points
954 views
0 votes
1 answer
0 votes
1 answer

build an J2EE application with docker

I would suggest you to use volume ...READ MORE

answered May 1, 2018 in Docker by shubham
• 6,890 points
44 views
0 votes
1 answer
0 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
• 56,520 points
156 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
• 6,880 points
76 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
• 6,880 points
1,370 views