Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Did not receive PID of PID1 in container (podman) #529

Open
rehanog opened this issue Apr 20, 2024 · 0 comments
Open

Did not receive PID of PID1 in container (podman) #529

rehanog opened this issue Apr 20, 2024 · 0 comments

Comments

@rehanog
Copy link

rehanog commented Apr 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant