Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.14.4. Container init verbosity


If LXC completes the container startup, but the container init fails to complete (for instance, no login prompt is shown), it can be useful to request additional verbosity from the init process. For an upstart container, this might be:


sudo lxc-start -n C1 /sbin/init loglevel=debug


You can also start an entirely different program in place of init, for instance


sudo lxc-start -n C1 /bin/bash

sudo lxc-start -n C1 /bin/sleep 100

sudo lxc-start -n C1 /bin/cat /proc/1/status


Top OS Cloud Computing at OnWorks: