docker-mtgo icon indicating copy to clipboard operation
docker-mtgo copied to clipboard

Podman can't run the mtgo

Open GiuseppeOrsatti opened this issue 5 months ago • 2 comments

after i install run-mtgo I run it and i get the following message : "Error: unrecognized namespace mode keepid passed".

It happens every time i run it.

What can i do to solve this error?

OS: Ubuntu 24.04.2 LTS Desktop environment (for Linux): Gnome Graphics card: :Intel® HD Graphics 620 (KBL GT2) Output of docker info:

(base) giuseppe-orsatti@beppeorso:~$ ./run-mtgo
IMAGE=docker.io/panard/mtgo:latest
CUSTOM DOCKER OPTS=--userns keepid
run(): podman info
host:
  arch: amd64
  buildahVersion: 1.33.7
  cgroupControllers:
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon_2.1.10+ds1-1build2_amd64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.10, commit: unknown'
  cpuUtilization:
    idlePercent: 59.24
    systemPercent: 13.3
    userPercent: 27.46
  cpus: 4
  databaseBackend: sqlite
  distribution:
    codename: noble
    distribution: ubuntu
    version: "24.04"
  eventLogger: journald
  freeLocks: 2048
  hostname: beppeorso
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 6.11.0-29-generic
  linkmode: dynamic
  logDriver: journald
  memFree: 346488832
  memTotal: 8078585856
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: aardvark-dns_1.4.0-5_amd64
      path: /usr/lib/podman/aardvark-dns
      version: aardvark-dns 1.4.0
    package: netavark_1.4.0-4_amd64
    path: /usr/lib/podman/netavark
    version: netavark 1.4.0
  ociRuntime:
    name: crun
    package: crun_1.14.1-1_amd64
    path: /usr/bin/crun
    version: |-
      crun version 1.14.1
      commit: de537a7965bfbe9992e2cfae0baeb56a08128171
      rundir: /run/user/1000/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +WASM:wasmedge +YAJL
  os: linux
  pasta:
    executable: /usr/bin/pasta
    package: passt_0.0~git20240220.1e6f92b-1_amd64
    version: |
      pasta unknown version
      Copyright Red Hat
      GNU General Public License, version 2 or later
        <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
  remoteSocket:
    exists: false
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns_1.2.1-1build2_amd64
    version: |-
      slirp4netns version 1.2.1
      commit: 09e31e92fa3d2a1d3ca261adaeb012c8d75a8194
      libslirp: 4.7.0
      SLIRP_CONFIG_VERSION_MAX: 4
      libseccomp: 2.5.5
  swapFree: 3109433344
  swapTotal: 4294963200
  uptime: 4h 13m 46.00s (Approximately 0.17 days)
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries: {}
store:
  configFile: /home/giuseppe-orsatti/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /home/giuseppe-orsatti/.local/share/containers/storage
  graphRootAllocated: 247677284352
  graphRootUsed: 102101626880
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Supports shifting: "false"
    Supports volatile: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 0
  runRoot: /run/user/1000/containers
  transientStore: false
  volumePath: /home/giuseppe-orsatti/.local/share/containers/storage/volumes
version:
  APIVersion: 4.9.3
  Built: 0
  BuiltTime: Thu Jan  1 01:00:00 1970
  GitCommit: ""
  GoVersion: go1.22.2
  Os: linux
  OsArch: linux/amd64
  Version: 4.9.3

UID=1000
run(): podman volume create mtgo64-data-giuseppe-orsatti
mtgo64-data-giuseppe-orsatti
run(): podman run --rm -v mtgo64-data-giuseppe-orsatti:/home/wine/.wine/host docker.io/panard/mtgo:latest true
Trying to pull docker.io/panard/mtgo:latest...
Getting image source signatures
Copying blob 5ecbb56ce57a done   | 
Copying blob 3b13894ddb5d done   | 
Copying blob 8ec76219e8d8 done   | 
Copying blob bd74926f8fb3 done   | 
Copying blob 7876ada86294 done   | 
Copying blob 8394c89ba458 done   | 
Copying blob 4f4fb700ef54 done   | 
Copying blob 86f5a85b8c4e done   | 
Copying blob c78f5761d6d0 done   | 
Copying blob 0182978d100a done   | 
Copying blob a7b5e87f7c24 done   | 
Copying blob fb4a94ed50d9 done   | 
Copying blob f117d6645e62 done   | 
Copying blob f246f2c7cd69 done   | 
Copying config 3f3b535109 done   | 
Writing manifest to image destination
run(): podman run --rm -e DISPLAY --userns keepid -v mtgo64-data-giuseppe-orsatti:/home/wine/.wine/host/ -v mtgo64-data-giuseppe-orsatti:/home/wine/.wine/drive_c/users/ -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /home/giuseppe-orsatti/.local/share/mtgo/Xauthority:/home/wine/.Xauthority:ro --net=host --ipc=host -e TZ=/usr/share/zoneinfo/Europe/Rome --name mtgo_running -v /home/giuseppe-orsatti/.local/share/mtgo/files:/home/wine/.wine/drive_c/users/wine/Documents --cpuset-cpus 0-3 docker.io/panard/mtgo:latest mtgo
Error: unrecognized namespace mode keepid passed

<attach output.log file from ./run-mtgo &>output.log>

GiuseppeOrsatti avatar Jul 16 '25 12:07 GiuseppeOrsatti

i change with keep-id and now i get this message when i run it: "Error: OCI runtime error: crun: the requested cgroup controller cpuset is not available"

GiuseppeOrsatti avatar Jul 16 '25 12:07 GiuseppeOrsatti

Have you tried the troubleshooting instructions found here (26)? https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-cpu-limits-fails-with-a-permissions-error

apd-f avatar Jul 18 '25 20:07 apd-f