On 9/2/2019 3:55 PM, basti wrote: > Hello, > > in the past i use systemd-nspawn containers with different debian/ > raspbian versions. so far so good. > now i try to use alpine linux (a non systemd OS) in the container. > > systemd-nspawn -b --directory=/var/lib/machines/... > > can start and i can login. but "machinectl shell" or "machinectl login" > does not work > > (Failed to get shell PTY: The name org.freedesktop.systemd1 was not > provided by any .service files) > > Is there an other way to get a shell besides ssh ? >
As far as I understand it systemd-container requires the OS in the container to also use systemd-nspawn. -- John Doe