Closed ctalledo closed 2 years ago
FYI: I was able to run a container image with Ubuntu Impish + systemd without problem, using Docker 20.10.9 + Sysbox top-of-tree (see below). This suggests the problem is specific to running Docker inside the Ubuntu Impish container.
root@sysbox-test:~/nestybox/sysbox# docker --version
Docker version 20.10.9, build c2ea9bc
root@sysbox-test:~/nestybox/sysbox# docker run --runtime=sysbox-runc -it --rm nestybox/ubuntu-impish-systemd
Welcome to Ubuntu 21.10!
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-modprobe.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
...
[ OK ] Started User Login Management.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Finished Update UTMP about System Runlevel Changes.
Ubuntu 21.10 6f91f7a35cd8 console
6f91f7a35cd8 login: admin
Password:
Welcome to Ubuntu 21.10 (GNU/Linux 5.4.0-89-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
admin@6f91f7a35cd8:~$
I was not able however to create an image with Ubuntu Impish + systemd + Docker following the usual Docker installation steps.
Apparently Docker has not yet added support for it; see here.
Right, i had to rely on focal's repo to be able to generate my impish-systemd-docker image.
This is no longer reproducing (must have gotten fix in a recent change). Closing.
Running a container with Ubuntu 21.10 + systemd + docker (focal), launched with Docker 20.10.9 + Sysbox v0.4.1 fails:
Running Docker within this Sysbox container causes it to crash.
Needs investigation, but it's very likely related to the problem described here (not related to Sysbox per-se):
https://medium.com/nttlabs/ubuntu-21-10-and-fedora-35-do-not-work-on-docker-20-10-9-1cd439d9921