Skip to content

[Bug] When updating to Ubuntu 25.10 docker image has cascading error #461

@Plaashond

Description

@Plaashond

What version of WinBoat are you running?

WinBoat Beta v0.8.7 Prod

Your Environment

Linux distro used: Ubuntu 25.10

Steps to Reproduce / Context

After updating ubuntu from 25.04 the docker container was failing to start up.

Logs

Logs:
❯ Starting Windows for Docker v5.07...
❯ For support visit https://github.com/dockur/windows
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
❯ ERROR: Status 127 while: hostname -s (line 48/13)
❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 48/13)

Expected Behavior

Winboat starts up with no error

Current Behavior

The container is in a failure loop.

Possible Solution

As a workaround I did the following:
on file: ~/.winboat/docker-compose.yml
I added the following:
security_opt:
- "apparmor=docker-default"
Tl:Dr apparmor had an update where mprotect is being policed by apparmor, seeing as the container is running as privelaged wich now makes it subject to global apparmour rules so changing the profile to the docker-default wich is more permissive it fixes the issue. not sure if there is a better solution.

Quality Notice

  • I have checked the issue tracker and verified that this bug is a unique case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageAn issue that is to be reviewed and assessed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions