« Git refuses to discover new remote branches | Home | Running a GUI application in Docker »
Creating a service to run a systemd-nspawn server
By admin | January 28, 2021
debootstrap –include=systemd-container –components=main,universe focal myContainer
http://nova.clouds.archive.ubuntu.com/ubuntu/
https://bbs.archlinux.org/viewtopic.php?id=232804
Edit /usr/lib/systemd/system/systemd-nspawn@.service
ExecStart= -> remove -U
Add
[Exec]
PrivateUsers=off
https://wiki.debian.org/nspawn#Booting_a_Container
sudo systemctl daemon-reload
sudo systemctl restart systemd-nspawn@myContainer
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 8 Comments »

July 18th, 2026 at 07:19
… [Trackback]
[…] Here you can find 27939 additional Info to that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
August 16th, 2026 at 07:59
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
September 2nd, 2026 at 15:04
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
September 7th, 2026 at 22:51
That satisfying feeling is why daily Phrazle challenges are so addictive. Even when a puzzle seems impossible, solving it yourself makes the effort worth it.
September 8th, 2026 at 23:34
… [Trackback]
[…] Here you will find 99778 additional Information on that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
September 10th, 2026 at 20:05
… [Trackback]
[…] Find More on to that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
September 11th, 2026 at 08:50
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]
September 22nd, 2026 at 04:40
… [Trackback]
[…] Find More Info here on that Topic: compdigitec.com/labs/2021/01/28/creating-a-service-to-run-a-systemd-nspawn-server/ […]