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.