Not sure if all these are user error on my part of an issue with the lab?
So the docker questions in the exam I seem to be messing them up but I can figure out what
Build a docker image
docker build -t kodekloud/nginx_kodekloud:1.0 does not work
docker build -t kodekloud/nginx_kodekloud:1.0 /home/bob/kode_web - So this is the command that works. Interesting I read that if will look in the current folder for the Dockerfile
I keep getting docker build build requires exactly 1 argument. I had this same issue in exam 2 as well
Find all files in /opt/files/ directory that are larger that 500M
but there is no /opt/files folder? after marking the exam this is still an issue Question 14
A process is overusing CPU resources, Find it and close it
I use top and htop and CPU usage is minimal, its like whatever script was supposed to run has not run. It marks it as correct question 15 but I did nothing!
Finally the nbd client question 17,
The first half of the question is find
nbd-client 127.0.0.1 -l
Negotiation: …
disk1
disk2
but i am unable to mount disk2
root@node01 ~ nbd-client 127.0.0.1 disk2
Warning: the oldstyle protocol is no longer supported.
This method now uses the newstyle protocol with a default export
Negotiation: …Error: Unknown error returned by server. Server said: Export unknown
Exiting.
So the answer is to use the -N flag. I don’t recall seeing that in any of the training