This is an old revision of the document!


01. Interactiunea cu containerele

Masina virtuala saisp-vm-1 contine un container deja creat, cu numele ct1.

Folosind comanda lxc-start, vom porni containerul:

root@saisp-vm-1:~# lxc-start -n ct1
 
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Cleaning up ifupdown....
Setting up networking....
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
...
Cleaning up temporary files....
INIT: Entering runlevel: 3
Using makefile-style concurrent boot in runlevel 3.
Starting OpenBSD Secure Shell server: sshd.
 
Debian GNU/Linux 6.0 ct1 console
 
ct1 login: 

Observam ca terminalul este atasat la container, acesta fiind pornit in foreground.

Pentru a va loga in container, folositi credentialele root / root.

saisp/labs/07/contents/02.1397413315.txt.gz ยท Last modified: 2014/04/13 21:21 by alexandru.carp
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0