0 votes
1 view
in Devops and Agile by (28.1k points)

When I tried to execute the Docker Job I was getting the error as follows:

I tried to execute the commands without Sudo in the AWS Instance. I was able to run them.

I have used the Docker registry as follows.

I have entered the credentials inside it.

Please explain.

1 Answer

0 votes
by (48k points)

Here, this issue occurred because of the sudo permissions which you haven't given for building, as well as you need to pull the image, then only you can build it. You cannot build directly using the image from docker hub.

For more information, check out this Docker Tutorial.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !