Compdigitec Labs

Archive for January, 2021

Running a GUI application in Docker

Saturday, January 30th, 2021

Creating a service to run a systemd-nspawn server

Thursday, January 28th, 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 -UAdd[Exec]PrivateUsers=off https://wiki.debian.org/nspawn#Booting_a_Container sudo systemctl daemon-reloadsudo systemctl restart systemd-nspawn@myContainer

Git refuses to discover new remote branches

Saturday, January 23rd, 2021

In addition to the excellent suggestions at https://stackoverflow.com/questions/1783405/how-do-i-check-out-a-remote-git-branch, take a look in .git/config and make sure fetch is specified to only fetch the master branch: [remote “origin”] url = git@github.com:example/coolproject.git fetch = +refs/heads/master:refs/remotes/origin/master # bad You’ll want to change the fetch line to fetch all branches instead: [remote “origin”] url = git@github.com:example/coolproject.git fetch = +refs/heads/*:refs/remotes/origin/*