mviereck/x11docker

Did not receive PID of PID1 in container (podman)

Opened this issue · 0 comments

Firstly - love x11docker. Thanks for an amazing tool, both in philosophy and execution.

The image I am using used to work. Now stopped. Not sure what changed. Still works if used directly by podman.

Working:

$ podman run -it --rm localhost/logseq_for_x11 /bin/bash
root@6c1352dde32c:/# 
exit

Not Working (same command used to work):

$ ./x11docker --backend=podman -- localhost/logseq_for_x11 /bin/bash
x11docker note: Option --xc for X in container enabled automatically.

x11docker note: Using X server option --nxagent

x11docker note: A few applications do not work well with --nxagent.
  In that case, you can try to fix the issue with option --composite
  or try another X server option like --xpra (seamless) or --xephyr (windowed).

x11docker note: Option --network=none is set to disable network access.
  If you need network and internet access, set option -I, --network [=NET].


x11docker ERROR: start_container(): Did not receive PID of PID1 in container.
  Maybe the container immediately stopped for unknown reasons.
  Just in case, check if host and image architecture are compatible:
  Host architecture: amd64 (x86_64), image architecture: amd64.

  Content of container log:
Error: no container with name or ID "x11docker_X112_localhost-logseq_for_x11-bin-bash_198672013584" found: no such container
Error: OCI runtime error: chmod `run/shm`: Operation not supported
Error: error inspecting object: no such object: "x11docker_X112_localhost-logseq_for_x11-bin-bash_198672013584"

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: /home/rehan/.cache/x11docker/x11docker.log
  Please report issues at https://github.com/mviereck/x11docker

Verbose output:

$ ./x11docker --debug --verbose --backend=podman -- localhost/logseq_for_x11 /bin/bash
# output in attached logfile

Really appreciate any help.
x11docker_doesnt_start_20240420_simple.log