Site Tools


chuleta_lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
chuleta_lxc [2018/03/15 13:13] – creado etfiatchuleta_lxc [2018/03/15 13:27] (current) etfiat
Line 1: Line 1:
 +
 +==== Creación ====
 +
 <code> <code>
 +
 lxc-checkconfig lxc-checkconfig
  
-lxc-create -name softlibre -t debian+lxc-create --name softlibre -t debian 
 + 
 +</code> 
 +<code> 
 + 
 +debootstrap is /usr/sbin/debootstrap 
 +Checking cache download in /var/cache/lxc/debian/rootfs-stable-amd64 ...  
 +Copying rootfs to /var/lib/lxc/softlibre/rootfs...Generating locales (this might take a while)... 
 +  es_ES.UTF-8... done 
 +  es_ES.UTF-8... done 
 +Generation complete. 
 +update-rc.d: error: cannot find a LSB script for checkroot.sh 
 +update-rc.d: error: cannot find a LSB script for umountfs 
 +update-rc.d: error: cannot find a LSB script for hwclockfirst.sh 
 +Creating SSH2 RSA key; this may take some time ... 
 +2048 SHA256:knQ7RvHhEPFaCqpaRkxSuyXqOo+ZOiranvaTYO4wIME root@matojo (RSA) 
 +Creating SSH2 ECDSA key; this may take some time ... 
 +256 SHA256:g4Wywoyrdu/vZYxPeD5hRpf2B+VsH4+RHOAKPnwW0bc root@matojo (ECDSA) 
 +Creating SSH2 ED25519 key; this may take some time ... 
 +256 SHA256:0pEtoco7GHtupKY32+iJqE2OyfsSHSWhwIi7uj8mbok root@matojo (ED25519) 
 +invoke-rc.d: could not determine current runlevel 
 +invoke-rc.d: policy-rc.d denied execution of start. 
 + 
 +Current default time zone: 'Etc/UTC' 
 +Local time is now:      Thu Mar 15 13:26:21 UTC 2018. 
 +Universal Time is now:  Thu Mar 15 13:26:21 UTC 2018. 
 + 
 + 
 +lxc-start --name softlibre --logfile /var/log/lxc_softlibre.log --logpriority DEBUG 
 + 
 +lxc-attach --name softlibre 
 + 
 +lxc-destroy --name softlibre
  
 +du -sh /var/cache/lxc/debian/rootfs-stable-amd64/
 +235M    /var/cache/lxc/debian/rootfs-stable-amd64/
  
  
 </code> </code>
chuleta_lxc.1521119605.txt.gz · Last modified: by etfiat