DEV Community

Discussion on: How are docker images built? A look into the Linux overlay file-systems and the OCI specification

Collapse
 
nkolchenko profile image
Nikolay Kolchenko • Edited

1) *CLI examples aren't consistent. *

[2020-04-19 16:31:09] [ubuntu] [/tmp/overlay-example/layer-4]  
 pactvm > ls -la
Enter fullscreen mode Exit fullscreen mode

and then:

[2020-04-19 16:37:11] [ubuntu] [/tmp/overlay-example]  
> sudo umount /tmp/overlay-example/mount && rm -rf *
Enter fullscreen mode Exit fullscreen mode

Imaging that noob reads it and the very first question is "What's the pactvm??"
Another important point is that the simple CTRL+C, CTRL+V of commands isn't working.

the

cd /tmp/overlay-example

is missed. I can almost see how noob does just a

cd

and

rm -rf *

does the trick. Why not to put

rm -rf /tmp/overlay-example/*

?

To sum it up, the article explains a really nice concept.. but in a very inconsistent and dangerous way.
Thank you. :)

Collapse
 
pablooliva profile image
Pablo Oliva

I am not a newbie, or at least i do not consider myself one, and I was confused by pactvm... thinking it was some command that I had never seen before, but I was too lazy to do a search.

Collapse
 
napicella profile image
Nicola Apicella • Edited

It s my login name. I removed it from most of the commands but forgot to remove it from some. I m so used to see my terminal that way I do not even notice it anymore 😅

I removed it. Thanks for the feedback