Closed
Description
Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/freebsd13"
memory = 2048
cpus = 2
config.vm.provider :virtualbox do |v|
v.memory = memory
v.cpus = cpus
end
config.vm.provider :libvirt do |v|
v.memory = memory
v.cpus = cpus
end
config.vm.provision "shell", inline: <<-SHELL
set -eux
pkg install -y containerd git gmake go runj
git clone https://github.com/containerd/nerdctl.git
cd nerdctl
git checkout v0.17.1
gmake
cp -a _output/nerdctl /usr/local/bin/
containerd &
sleep 3
nerdctl pull --quiet knast/freebsd:13-STABLE
nerdctl run --net none knast/freebsd:13-STABLE echo "Nerdctl is up and running."
SHELL
end
$ vagrant up
...
default: ++ nerdctl pull --quiet knast/freebsd:13-STABLE
default: ++ nerdctl run --net none knast/freebsd:13-STABLE echo 'Nerdctl is up and running.'
default: time="2022-03-07T08:01:30Z" level=fatal msg="failed to find the mount info for \"/tmp/initialC1360175813\": not implemented on freebsd/amd64"