docker build requires exactly 1 argument s

0 votes

I'm attempting to build and tag an image from a specific Dockerfile; I'm following the published instructions for docker build, but I'm getting the following error:

"docker build" requires exactly 1 argument(s)

I use the following command:

docker build -f /full/path/to/MyDockerfile -t proj:myapp

I've tried many combinations of the above command, but the results are always the same: the above-mentioned error message. Why is this happening, despite the fact that I am following the documentation's instructions?

Apr 21, 2022 in Docker by pranav
• 2,590 points
2,016 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Docker

0 votes
1 answer

Error saying "build" requires 1 argument. See 'docker build --help'

Try adding a period at the end ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 7,060 points
4,894 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
• 7,340 points
944 views
0 votes
1 answer

Docker containers as Jenkins Slave build agents

When you encapsulate the stage inside a ...READ MORE

answered Jun 16, 2018 in Docker by Atul
• 10,240 points
2,455 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

answered Jul 25, 2018 in Docker by Kalgi
• 52,350 points
764 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 52,350 points
1,948 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,739 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