May 18, 2017

Chapter 2 - Lab: Container Login


In the Lab regarding systemd-nspawn, the Debian container created presentes a login prompt. What's the user and password to login? 

Other point: I tried to create a container using a different OS: using debootstrap I deployed a Ubuntu Trusty. After that I used systemd-nspawn -bD command to create the container in this OS.

As the next step I opened a new window and access de VM and using the machinectl commands I verify the status of the container and was running.  I tried to access the container using machinectl login container name, but without sucess....

A message informing something about "a bus not present"....

In summary: how I can login the containers created using systemd-nspawn? What are the options for that?



Click Here!