10. root@docker-demo:~# lxc-create -t ubuntu -n test
Checking cache download in /var/cache/lxc/saucy/rootfs-amd64 ...
Copy /var/cache/lxc/saucy/rootfs-amd64 to /usr/lib/x86_64-linux-gnu/lxc ...
Copying rootfs to /usr/lib/x86_64-linux-gnu/lxc ...
##
# The default user is 'ubuntu' with password 'ubuntu'!
# Use the 'sudo' command to run tasks as root in the container.
##
root@docker-demo:~# lxc-start -n test -d
root@docker-demo:~# lxc-ls --fancy
NAME STATE
IPV4
IPV6 AUTOSTART
-----------------------------------------test RUNNING 10.0.3.237 NO
root@docker-demo:~# ssh ubuntu@10.0.3.237
ubuntu@10.0.3.237's password:
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
ubuntu@test:~$
11. LXC
• Etabler egen mappe som filsystem
• Sett opp Cgroups og Namespace slik at det
isoleres
• Start prosesser
• Dårlig…
18. This changes everything
• Alle kan virtualisere
• Alle kan virtualisere mye
• Alle kan distribuere fullstendige snapshots av
maskiner
• Det går kjapt
• Det gir fullstendig isolasjon
19. IaaS? PaaS?
•
•
•
•
Docker i OpenStack
PaaS har ikke lenger hastighetsfordelen
Trenger fortsatt templates for å komme i gang
Fortsatt utfordring å monitorere, overvåke,
skalere og gjøre failover