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

docker image starting but excited with error 139 #1

Open
wasrek404 opened this issue Jul 6, 2021 · 2 comments
Open

docker image starting but excited with error 139 #1

wasrek404 opened this issue Jul 6, 2021 · 2 comments

Comments

@wasrek404
Copy link

Hi,

I was trying to use this image for browsing to a dated website (with java). I used the script found in this github:

#!/bin/bash

URL=$1
docker run -ti
--name "firefox-test"
-v "$PWD/.ff_profile:/home/firefox/.mozilla/firefox"
-v "${HOME}/Downloads:/home/firefox/Downloads:rw"
-v "/tmp/.X11-unix:/tmp/.X11-unix"
-e "DISPLAY=unix${DISPLAY}"
-e "uid=$(id -u)"
-e "gid=$(id -g)"
-e "URL=${URL}"
ugrawert/firefox-java

But nothing started, no ouput, nothing in logfile or in docker logs. Docker ps just says:

$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34683a74ae35 ugrawert/firefox-java "/start-firefox.sh" 4 seconds ago Exited (139) 3 seconds ago firefox-test

I tried browsing to several sites but nothing worked.

@wasrek404
Copy link
Author

BTW I am running this on debian:

$ cat /etc/debian_version
11.0
$ docker --version
Docker version 20.10.7, build f0df350

With gnome and (I think) wayland?

@grawert
Copy link

grawert commented Jul 7, 2021

Maybe the profile path does not exist? Does the following command work?

docker run --rm -ti
-v "/tmp/.X11-unix:/tmp/.X11-unix"
-e "DISPLAY=unix${DISPLAY}"
-e "uid=$(id -u)"
-e "gid=$(id -g)"
ugrawert/firefox-java

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

2 participants