Ok, I got it working with “normal docker” but it wasn’t straight forward.
Once I deleted all the SDK installation I started again and had problems getting project to work. Also the qtcreator was getting segfaults.
What helped was to wipe out SDK installation again and also the config which is inside of the
$HOME/.config/SailfishSDK
then install it again.
After that it seems it’s working properly.
Leaving it for others in case they’d have some problems.
Before doing that you should figure out how to make docker not freak out because of the existing /etc/resolv.conf. And then you should run the failed chown command in the container. After that you can ignore.
I did install sdk two weeks ago on lin mint
Headless not supported is in the docs.
The first installation failed with some download issues. Uninstalled, deleted the sailfOS Folder, second try . Done.
Docker is way better then virtual box that i was using the last 10 years.
I ve felt a bit helpless with the link to official docker doc but how else do you want to keep that accurate.
And actually during docker install i had the download issue too.
I get exactly the same error on my Kubuntu 24.04 (also having a symlink on resolv.conf). But when I try to re-run the docker buildcommand it fails due to missing Dockerfile. It seems that the SailfishSDK install removes the Dockerfile after installation, at least when I press the Ignore button.
Were you able to resolve the issue?
I found a similar issue for another build but being somewhat of a docker rookie I am not sure what to make of it. I don’t know how to remove the resolve.conf from the rootfs image which is what is suggested.
I was able to work around this eventually. It seems to be related to the new so called BuildKit in Docker.
I start the installation as recommended:
~/Downloads/SailfishSDK-3.12.5-linux64-online.run
And then when I reach the “Error during installation process (org.merproject.mersdk):”, I run from another shell: DOCKER_BUILDKIT=0 docker build --tag sailfish-sdk-build-engine:<my_user> /home/<my_user>/SailfishOS/mersdk
By disabling the BuildKit it seems to work and the container is built.
Then I press “Ignore” in the install GUI to proceed with the installation process.
Update, it seems that BuildKit mounts files in /etc as read-only while the legacy builder allows read-write. Buildkit issue #3564.