Repository navigation
Documenting my Bluefin-DX (classic) to Dakota migration #5022
Replies: 3 comments 6 replies
Step (2) - Restore docker + VSCodeI am now on First VSCode:I could now open my projects with podman containers. Next, docker:SELinux + DockerSELinux hates homebrew and I could not start the service: I am not going to claim this is the best approach, I may revisit this in the future if I need to, but since Dakota does NOT use SELinux I might not have to. For now, I simply copied the daemon where SELinux is more permissive but had to patch the binary. This is unstable I guess to homebrew updates, but I hope I won't have to use it for long: # Copy the binary
sudo cp -L /home/linuxbrew/.linuxbrew/opt/docker-engine/bin/dockerd /usr/local/bin/dockerd
sudo chmod 755 /usr/local/bin/dockerd
# Copy the linker
sudo mkdir -p /usr/local/lib
sudo cp /home/linuxbrew/.linuxbrew/lib/ld.so /usr/local/lib/
# Install patchelf if needed
brew install patchelf
# Point the binary at the copied linker
sudo patchelf --set-interpreter /usr/local/lib/ld.so /usr/local/bin/dockerd
# Verify
sudo /usr/local/bin/dockerd --versionYep, that ugly... And now that we have it working from a location SELinux likes: sudo tee /etc/systemd/system/docker-engine.service > /dev/null << 'EOF'
[Unit]
Description=Docker Engine (Homebrew)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/dockerd
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now docker-engine.serviceCheck status: systemctl status docker-engine.serviceAt this point VSCode + DockerHomebrew installs a mkdir -p ~/.config/environment.d
cat > ~/.config/environment.d/99-homebrew.conf << 'EOF'
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:${PATH}
EOFMake sure to logout/login to pick this up, but it should be made default in ublue-os world: now all my homebrew binaries are accessible by the launcher. |
|
The docker setup in dakota is done I landed it in chairlift last night. |
Step (3) - QEMUThere are two ways to go about this: (A) flatpak or (B) homebrew. I got both working but settled on (B). Here is what I recommend: Flatpak - simple userNOTE: if you have a long username like myfistname.mylastname you may run into flathub/org.virt_manager.virt-manager#162 and therefore in that case the flatpak is not an option. In this case use Hombrew below, Simply use Bazaar to install these and you should be good to go:
Homebrew - especially if you want to build/test DakotaIf you have a long username and run into the but above that causes the flatpak to fail, OR if you want to work on Dakota I recommend this method (which I ended up using). If you do this you can also work on Dakota and launch newly built images with " This will put the binaries in your path but to run virt-manager you need to copy the schema and desktop files to your local entries:
This should be enough to run it from command line, but if you want the desktop entry for Or see |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have a couple of weird requirements which prevent me from moving to Dakota. This is my aspirational plan to move. The "quirks" are:
The current plan is:
ublue-os/bluefin-dx-nvidia-open:stableto regular (non-DX)ublue-os/bluefin-nvidia-open:stableI've already done (1) and (2) so I will post below about those, as there were some surprises (though 1 does not count, it was a simple bootc switch).
All reactions