Docker Administration with Linux Fundamentals Quiz Questions and Answers
In your home directory, you created a directory called newdir
as a placeholder for various files. You notice that the
directory now contains monthly reports. What would be the
proper syntax to rename the newdir directory to
monthly_reports?
Answer :
mv ~/newdir ~/monthly_reports
When should programs be configured SUID root?
Answer :
Only when they require root privileges to do their job
You discover that an MBR hard disk has partitions with type codes of 0x0f, 0x82, and 0x83. Assuming these type codes are accurate, what can you conclude about the disk?
Answer :
The disk holds a partial or complete Linux system.
How do you access a running container?
Answer :
Docker exec -it con0id
Is docker free for windows ?
Answer :
yes
How to delete a stopped container?
Answer :
Docker rm ID
You type jobs at a bash command prompt and receive a new command prompt with no intervening output. What can you conclude?
Answer :
No background processes are running that were launched from the shell you’re using.
How do you get the number of containers running, paused, and stopped?