This shows you the differences between two versions of the page.
saisp:labs:07:contents:04 [2013/11/11 00:46] 127.0.0.1 external edit |
saisp:labs:07:contents:04 [2014/04/14 11:42] (current) alexandru.carp |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 04. Lorem ipsum ==== | + | ==== 04. [10p] Sistemul de fisiere ==== |
+ | |||
+ | Sistemul de fisiere al unui container se gaseste stocat pe masina gazda sub calea: | ||
+ | |||
+ | ''/var/lib/lxc/**NUME**/rootfs/'' | ||
+ | |||
+ | Astfel se pot partaja foarte usor fisiere intre containere si masina gazda: | ||
+ | * In container, creati un fisier in directorul ''/root/''. | ||
+ | * In masina gazda (statia **saisp-vm-1**), accesati fisierul folosind calea descrisa mai sus. | ||
+ | * Modificati fisierul si salvati-l. | ||
+ | * In container, deschideti fisierul si observati modificarile. | ||
- | ... | ||