Hello all
Can some one help
It's about build image from url then name as montor i have used below command didn't work
wget url
Podman build -t monitor .
Do i need to enter dir name or link after above command it didn't work
> Can some one help for my question today i falid in the exam ex200
The NDA you and us signed with Red Hat, does not allow us to discuss exam questions in detail. You would do well to rephrase your opening post.
That error is in no way at all related to registrations for Red Hat entitlements.
Putting that aside, as @cyb3rx says there's a lot wrong with your Dockerfile. It's missing the single most important line, the FROM line. Without that, there is no container image.
rename the file that you got from wget to Dockerfile then execute
podman build -t monitor .
or you can the -f option here are some examples
$ podman build -f Containerfile.simple .
$ cat $HOME/Containerfile | podman build -f - .
please check this site for reference:
Hello
Thanks for your replay
i am gettimg error in my lap looks like because my system not registered with an entitlement server is ithis right ? please correct me if im wrong
also please let me know if you can help me how to practice such examples
1-
[root@Client ~]# mv Containerfile Dockerfile
[root@Client ~]# podman build -t monitor .
Error: no FROM statement found
[root@Client ~]#
2-
[root@Client ~]# podman build -f Containerfile.simple .
Error: no FROM statement found
[root@Client ~]# cat Containerfile.simple | podman build -f - .
Error: no FROM statement found
it seems like there's some issue with your Dockerfile as it does not have FROM statement, you can try it with different Dockerfile
> Can some one help for my question today i falid in the exam ex200
The NDA you and us signed with Red Hat, does not allow us to discuss exam questions in detail. You would do well to rephrase your opening post.
That error is in no way at all related to registrations for Red Hat entitlements.
Putting that aside, as @cyb3rx says there's a lot wrong with your Dockerfile. It's missing the single most important line, the FROM line. Without that, there is no container image.
Thank you all appreciate your support and quck replaying
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.