Open diyism opened 3 years ago
Thank you so much for stopping by and sorry for this late reply.
I am still thinking how I can restart the Barge project in the near future.
Meanwhile, you may be able to build it by yourself with https://github.com/ailispaw/singularity-barge/tree/v3.0 .
Thanks, I'll give a try. "Barge project + singularity" is very useful in my mind, they're far more easier to use than "Barge+Docker".
I've tried the Vagrantfile, it's very convenient, it seems successfully boot the bargeOS virtualbox image and built the singularity 3.9.9 in it:
singularity-barge: Running provisioner: shell...
singularity-barge: Running: inline script
singularity-barge: Installing...
singularity-barge: barge-pkg-singularity-2.13.0 has been installed into the system.
but when I run "vagrant ssh" and "singularity -h", the error shows:
singularity: symbol lookup error: singularity: undefined symbol: seccomp_notify_respond
I've tried "pkg install libseccomp", the error is still there.
Can you try it with a new box there? https://github.com/bargees/barge-packer/releases/tag/3.0.0-dev2
To try the box,
vagrant box add -f barge barge-vbox.box
# config.vm.box = "ailispaw/barge"
config.vm.box = "barge"
vagrant up
Barge v2.13.0 has libseccomp v2.4.0 Barge v3.0.0-dev has libseccomp v2.5.3
It seems that seccomp_notify_respond was added in libseccomp v2.5.0. https://www.paul-moore.com/blog/d/2020/07/libseccomp_v250.html
Tested it, the barge v3.0.0-dev works:
$ singularity version
3.2.1
version 3.2.1 ?
My fault, I need "vagrant box remove ailispaw/barge" first:
$ vagrant box list
barge (virtualbox, 0)
To modify Vagrantfile:
config.vm.box = "barge"
config.vm.box_version = ">= 0"
Then "vagrant up", and "vagrant ssh":
$ vagrant ssh
Welcome to Barge 3.0.0-dev, Docker version 20.10.12, build buildroot
[bargee@barge ~]$ singularity version
3.9.9
Everything is ok now.
I see, but I don't think that you need to remove the box ailispaw/barge
, if you modify to config.vm.box = "barge"
without the version line.
Anyway, thank you so much for your time to check it out.
Yesterday, I found Singularity(https://sylabs.io/guides/3.7/user-guide/quick_start.html#install), It's awesome, I think it's far easier to use than docker.(especially its sanbox feature, it's very convenient for finding package changes)
And what surprised me even more is that bargeOS has integrated Singularity many years ago.(pkg install singularity)
But the version is too old(2.6.0), do you have time to upgrade the Singularity?