Code Monkey home page Code Monkey logo

docker-firefox's Issues

shm-size via docker compose ?

Hi there,

I don't know how to set the shm-size parameter via docker-compose ?

Tried with :

services:
firefox:
image: jlesage/firefox:latest
build: .
args:
shm-size: 2g

but unfortunately this won't work.

Transfer files

Hi,
Any suggestion on how to transfer files to my machine? Downloaded files are (as expected) downloaded to container machine, any easy way to get to them without going to cmd line?

ARM support

Hello! Thanks for your container, it's neat!

I would like to run it on openmediavault. It worked properly on an x86 VM, but if I try it on my ARM (armhf) single-board computer, the container crashes with the following error:

standard_init_linux.go:190: exec user process caused "exec format error"

which, if I understand well, is due to an architecture mismatch. Are you positive your container indeed can't run on ARM? If so, would it take you a lot of work to change dependencies?

Error for docker synology

The container does not want to run.
Error message

Start container firefox failed OCI runtime create failed container with id exists

Unable to spawn /etc/logmonitor/notifications.d/shm_size/filter: Permission denied

When I try to run docker-compose up, I get an error: warning: unable to spawn /etc/logmonitor/notifications.d/shm_size/filter: Permission denied

My docker-compose.yml file:
version: '3'
services:
firefox1:
build:
context: .
args:
shm-size: 2g
ports:
- "5801:5800"
volumes:
- "/docker/appdata/firefox1:/config:rw"
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 256M
environment:
KEEP_APP_RUNNING: 1

And by just running the docker run from README.md:
docker run -d \ --name=firefox \ -p 5800:5800 \ -v /docker/appdata/firefox:/config:rw \ --shm-size 2g \ jlesage/firefox

everything work fine.

Run tor browser

Can you add support tor browser? Or may be create new image.

Active Directory Integration

Hi ! Thanks for the Container, it is realy great.

i want to create container with active directory username and password (credentials) and i want same user login to his container from web interface by his active directory username and password(credentials).
do u have any idea to achieve these goals?

there are some problems too:

  1. maximum range of vnc password depending on RFC buffer.
  2. vnc or web ineterface doesnt ask for username (even username that created with user_id variable)

regards,

Possible to open tabs from docker shell?

Hi, is it possible to open a tab from the docker shell? In a regular environment running firefox google.com would open a new tab in the current instance of firefox but that doesnt seem to work :(

Widevine Plugin Support

i am having issues using sites that use Widevine plugin. is there anyway to allow for this? i am open to mapping other volumes to the container to support this but i dont know which i should add or if the fix is elsewhere.

Build problems

Hi jselage, and again, thanks for the great package.

I'm trying to run this behind a vpn connection, as such I need to rebuild the package with vpnc already installed. I was able to run it successfully by installing everything inside a running image, however, when I try to change the Dockerfile to build this from scratch, I'm getting the following errors (I removed the firefox version and added upgrade firefox-esr):

Step 1/22 : FROM jlesage/baseimage-gui:alpine-3.9-v3.5.2

 ---> 3b4945b380ef
Step 2/22 : ARG DOCKER_IMAGE_VERSION=unknown
 ---> Running in 42646660b8a7
Removing intermediate container 42646660b8a7
 ---> d8e97fb8ce20
Step 3/22 : ARG FIREFOX_VERSION=68.3.0-r0
 ---> Running in 2af525fdeace
Removing intermediate container 2af525fdeace
 ---> 929fa75ce1b4
Step 4/22 : ARG JSONLZ4_VERSION=c4305b8
 ---> Running in ea49d2e3fdd3
Removing intermediate container ea49d2e3fdd3
 ---> e13b7b30d0e0
Step 5/22 : ARG LZ4_VERSION=1.8.1.2
 ---> Running in a82b0465dc2d
Removing intermediate container a82b0465dc2d
 ---> 0c85d9249c59
Step 6/22 : ARG JSONLZ4_URL=https://github.com/avih/dejsonlz4/archive/${JSONLZ4_VERSION}.tar.gz
 ---> Running in da322830eb60
Removing intermediate container da322830eb60
 ---> 2a86a81351a9
Step 7/22 : ARG LZ4_URL=https://github.com/lz4/lz4/archive/v${LZ4_VERSION}.tar.gz
 ---> Running in ad81081097e9
Removing intermediate container ad81081097e9
 ---> ace4a61418d6
Step 8/22 : WORKDIR /tmp
 ---> Running in 6c2bf2a29243
Removing intermediate container 6c2bf2a29243
 ---> c3b37733b807
Step 9/22 : RUN     echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories &&     echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories &&     echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories &&     apk update
 ---> Running in ce33a77f249b
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.9.4-235-g5857b8ca03 [http://dl-cdn.alpinelinux.org/alpine/v3.9/main]
v3.9.4-230-ga73893015b [http://dl-cdn.alpinelinux.org/alpine/v3.9/community]
v3.11.0_rc3-21-g8fe3109377 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v3.11.0_rc3-22-g9800a38da9 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v3.11.0_rc3-16-gd6a8110111 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 25111 distinct packages available
Removing intermediate container ce33a77f249b
 ---> adcf986566b1
Step 10/22 : RUN     add-pkg --repository http://dl-cdn.alpinelinux.org/alpine/edge/main             --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing             --repository http://dl-cdn.alpinelinux.org/alpine/edge/community             --upgrade firefox-esr
 ---> Running in f441e098b553
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/73) Upgrading busybox (1.29.3-r10 -> 1.31.1-r7)
Executing busybox-1.31.1-r7.post-upgrade
(2/73) Upgrading libcrypto1.1 (1.1.1b-r1 -> 1.1.1d-r2)
(3/73) Upgrading libssl1.1 (1.1.1b-r1 -> 1.1.1d-r2)
(4/73) Upgrading libtls-standalone (2.7.4-r6 -> 2.9.1-r0)
(5/73) Upgrading ssl_client (1.29.3-r10 -> 1.31.1-r7)
(6/73) Upgrading zlib (1.2.11-r1 -> 1.2.11-r3)
(7/73) Upgrading libxau (1.0.8-r3 -> 1.0.9-r0)
(8/73) Upgrading libbsd (0.8.6-r2 -> 0.10.0-r0)
(9/73) Upgrading libxdmcp (1.1.2-r5 -> 1.1.3-r0)
(10/73) Upgrading libxcb (1.13-r2 -> 1.13.1-r0)
(11/73) Upgrading libx11 (1.6.7-r0 -> 1.6.9-r0)
(12/73) Upgrading libxcomposite (0.4.4-r2 -> 0.4.5-r0)
(13/73) Upgrading libxdamage (1.1.4-r2 -> 1.1.5-r0)
(14/73) Upgrading libxext (1.3.3-r3 -> 1.3.4-r0)
(15/73) Upgrading libice (1.0.9-r3 -> 1.0.10-r0)
(16/73) Upgrading libuuid (2.33-r0 -> 2.34-r1)
(17/73) Upgrading libsm (1.2.2-r2 -> 1.2.3-r0)
(18/73) Upgrading libxt (1.1.5-r2 -> 1.2.0-r0)
(19/73) Installing alsa-lib (1.2.1.2-r0)
(20/73) Upgrading libintl (0.19.8.1-r4 -> 0.20.1-r2)
(21/73) Upgrading libblkid (2.33-r0 -> 2.34-r1)
(22/73) Upgrading libmount (2.33-r0 -> 2.34-r1)
(23/73) Upgrading pcre (8.42-r1 -> 8.43-r0)
(24/73) Upgrading glib (2.58.1-r2 -> 2.62.3-r0)
(25/73) Installing atk (2.34.1-r0)
(26/73) Upgrading expat (2.2.6-r0 -> 2.2.9-r0)
(27/73) Upgrading libbz2 (1.0.6-r6 -> 1.0.8-r1)
(28/73) Upgrading libpng (1.6.35-r0 -> 1.6.37-r1)
(29/73) Upgrading freetype (2.9.1-r2 -> 2.10.1-r0)
(30/73) Upgrading fontconfig (2.13.1-r0 -> 2.13.1-r2)
(31/73) Upgrading pixman (0.34.0-r6 -> 0.38.4-r0)
(32/73) Upgrading cairo (1.16.0-r1 -> 1.16.0-r2)
(33/73) Installing cairo-gobject (1.16.0-r2)
(34/73) Installing dbus-libs (1.12.16-r2)
(35/73) Installing dbus-glib (0.110-r0)
(36/73) Installing libevent (2.1.11-r0)
(37/73) Upgrading libgcc (8.3.0-r0 -> 9.2.0-r3)
(38/73) Installing hicolor-icon-theme (0.17-r1)
(39/73) Upgrading tiff (4.0.10-r0 -> 4.1.0-r0)
(40/73) Upgrading gdk-pixbuf (2.36.11-r2 -> 2.40.0-r0)
(41/73) Installing gtk-update-icon-cache (2.24.32-r1)
(42/73) Upgrading libxcursor (1.1.15-r1 -> 1.2.0-r0)
(43/73) Upgrading libxrandr (1.5.1-r2 -> 1.5.2-r0)
(44/73) Installing at-spi2-core (2.34.0-r0)
(45/73) Installing at-spi2-atk (2.34.1-r0)
(46/73) Installing avahi-libs (0.7-r4)
(47/73) Installing gmp (6.1.2-r1)
(48/73) Installing nettle (3.5.1-r0)
(49/73) Installing p11-kit (0.23.18.1-r0)
(50/73) Installing libtasn1 (4.15.0-r0)
(51/73) Installing libunistring (0.9.10-r0)
(52/73) Installing gnutls (3.6.10-r0)
(53/73) Installing cups-libs (2.2.12-r1)
(54/73) Installing libepoxy (1.5.4-r0)
(55/73) Upgrading fribidi (1.0.5-r0 -> 1.0.8-r0)
(56/73) Upgrading graphite2 (1.3.12-r1 -> 1.3.13-r1)
(57/73) Upgrading harfbuzz (2.2.0-r0 -> 2.6.4-r0)
(58/73) Upgrading libxft (2.3.2-r3 -> 2.3.3-r0)
(59/73) Upgrading pango (1.42.4-r0 -> 1.44.7-r0)
(60/73) Installing wayland-libs-client (1.17.0-r0)
(61/73) Installing wayland-libs-cursor (1.17.0-r0)
(62/73) Installing wayland-libs-egl (1.17.0-r0)
(63/73) Installing libxkbcommon (0.9.1-r0)
(64/73) Installing gtk+3.0 (3.24.13-r0)
Executing gtk+3.0-3.24.13-r0.post-install
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /usr/lib/libxkbcommon.so.0: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
ERROR: gtk+3.0-3.24.13-r0.post-install: script exited with error 127
(65/73) Installing gtk+2.0 (2.24.32-r1)
Executing gtk+2.0-2.24.32-r1.post-install
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
ERROR: gtk+2.0-2.24.32-r1.post-install: script exited with error 127
(66/73) Installing libstdc++ (9.2.0-r3)
(67/73) Installing icu-libs (64.2-r0)
(68/73) Installing nspr (4.24-r0)
(69/73) Installing sqlite-libs (3.30.1-r1)
(70/73) Installing nss (3.48-r0)
(71/73) Installing firefox-esr (68.3.0-r0)
(72/73) Purging mkfontdir (1.0.7-r1)
(73/73) Upgrading mkfontscale (1.1.3-r1 -> 1.2.1-r1)
Executing busybox-1.31.1-r7.trigger
Executing glib-2.62.3-r0.trigger
Executing fontconfig-2.13.1-r2.trigger
Executing gdk-pixbuf-2.40.0-r0.trigger
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
ERROR: gdk-pixbuf-2.40.0-r0.trigger: script exited with error 127
Executing gtk-update-icon-cache-2.24.32-r1.trigger
Error relocating /lib/libmount.so.1: secure_getenv: symbol not found
Error relocating /lib/libblkid.so.1: secure_getenv: symbol not found
ERROR: gtk-update-icon-cache-2.24.32-r1.trigger: script exited with error 127
Executing mkfontscale-1.2.1-r1.trigger
2 errors; 292 MiB in 133 packages
The command '/bin/sh -c add-pkg --repository http://dl-cdn.alpinelinux.org/alpine/edge/main             --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing             --repository http://dl-cdn.alpinelinux.org/alpine/edge/community             --upgrade firefox-esr' returned a non-zero code: 2

Seems to be a problem with installing gtk-related stuff... any ideas?

Getting "s6-applyuidgid: fatal: unable to exec mkdir: Permission denied" when starting the container

Hi,

Thank you for your great work. I am very pleased with your Firefox container on several servers but I am facing a really strange behavior on one of them. I am running docker on a 18.04 Ubuntu server. If I try to start the container by just running your suggested command I get the following error:
s6-applyuidgid: fatal: unable to exec mkdir: Permission denied
[cont-init.d] 10-nginx.sh: exited 111.
[services.d] stopping services
[services.d] stopping s6-fdholderd...

It is important to note that I am running the exact same container on another Ubuntu 18.04 installation without any problem. On the server having the problem I run several other container without any issue. I tried to run another container you made "docker-jdownloader-2" I am getting the same error.

PGID and PUID are set accordingly to my user who is owner of the volume. Security has been set to 777 to open as much as possible the security.

Is there anything I am doing wrong?

Thank you for your support.

Denis

Open Links in Tabs instead of New Windows

The setting "open links in tabs instead of new windows" doesn't always work. This wouldn't be an issue, but I'm not able to close the new window. Instead, I have to close all windows or reboot the container. If I leave the window open in the background, the container memory utilization will grow.

Firefox older versions help

This container works great! Thank you for creating it!

Would you know how I could get an older version like FF 52.0, to work instead?

I am trying to run an older browser with Java 1.6 and 1.7 for some legacy hardware. This container and how it is accessed is absolutely perfect for the job.

I am not sure where to start, given the complexity of the container and all of the pre/post scripting.

Any advice or pointers would be appreciated.

compil RPI

Hello,

thanks for your job

I don't speak english sorry,
I would like compile your project to RPI and I have issues in more fonction:

xevents.c: In function 'check_autorepeat':
xevents.c:1138:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
       str = XKeysymToString(XKeycodeToKeysym(dpy, i, 0));
       ^~~
In file included from x11vnc.h:77:0,
                 from xevents.c:35:
/usr/include/X11/Xlib.h:1687:15: note: declared here
 extern KeySym XKeycodeToKeysym(
               ^~~~~~~~~~~~~~~~

have you solution?
I have search and find this

https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym

Can you help-me for debbug please

Full Screen

Hello ! Thanks for this container, really cool.

I think FullScreen is not working, Firefox still in the 1280x720 ( HD resolution )...

Is possible to run with entire browser screen ?

build errors

Hi, I'm trying to build this docker so far without any modification. Later I would like to make some modifications, but for now I get a problem and the build fails.
These are the errors I get:

Executing fontconfig-2.13.1-r0.trigger
Error relocating /usr/lib/libexpat.so.1: getrandom: symbol not found
Error relocating /lib/libuuid.so.1: getrandom: symbol not found
ERROR: fontconfig-2.13.1-r0.trigger: script exited with error 127
Executing gtk-update-icon-cache-2.24.32-r1.trigger
Error relocating /lib/libmount.so.1: getrandom: symbol not found
Error relocating /lib/libblkid.so.1: getrandom: symbol not found
Error relocating /lib/libuuid.so.1: getrandom: symbol not found
ERROR: gtk-update-icon-cache-2.24.32-r1.trigger: script exited with error 127
Executing mkfontscale-1.1.3-r0.trigger
Executing mkfontdir-1.0.7-r1.trigger
2 errors; 356 MiB in 161 packages
The command '/bin/sh -c add-pkg desktop-file-utils adwaita-icon-theme ttf-dejavu ffmpeg-libs xdotool' returned a non-zero code: 2

I've tryed to search with google and to have a look at the Dockerfile, sorry, I'm also new to Docker. I really can't understand what's the problem. Error 127 is usually returned by the shell when a command is not found or is not executable, but that's all know.
Thanks anyway for this fantastic Docker.

Window/Tab Navigation

Sorry if I missed it. What is the equivalent of Ctrl+w ?

Ctrl+w closes the container instance instead of closing the tab inside the container instance.

Thanks

How does is it give output to the browser, and how does it receive input from the user?

Sorry, this isn't an issue, I'm just trying to understand how it streams the Firefox browser to the localhost webpage, and how it receives input from the user. I would like to modify/extend this functionality for a specific use case. I'm not very familiar with docker, so I can't figure out where that functionality comes from. Any tips would be great. Thanks for the work you've done!

Error - Unsupported file format

[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
stored passwd in file: /root/.vncpass
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] check-snd.sh: executing...
[cont-init.d] check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
[cont-init.d] check-snd.sh: exited 0.
[cont-init.d] firefox-set-prefs-from-env.sh: executing...
[cont-init.d] firefox-set-prefs-from-env.sh: exited 0.
[cont-init.d] firefox.sh: executing...
Error: unsupported file format

How to set environment variables in docker-compose.yaml?

I am struggeling with writing my docker-compose and set my resolution.
Currently it looks like this:

 version: '3'
services:
  firefox:
    container_name: firefox
    image: jlesage/firefox
    ports:
      - "5800:5800"
    volumes:
      - "/opt/firefox:/config:rw"
    restart: unless-stopped
    shm_size: '1g'
    build: .
    environment:
      - DISPLAY_WIDTH:2560
      - DISPLAY_HEIGHT:1440`

is this correct?

IPSec VPN

Hi, any idea on how to run this on top of an IPSec connection?

Server disconnected (error : 1006) with nginx proxy manager

Hi.
So my issue is actually pretty difficult to explain.
I installed docker-firefox some days ago and everything was working perfectly. I was using nginx as reverse proxy in order to access firefox UI.
Then I decided today to use Nginx Proxy Manager instead of nginx itself. Everything is working flawlessly... except with your firefox and handbrake images.

So there's the problem.
This issue does not occur when firefox home page is the only page to be opened.
If i open any website with firefox (Google, or any website), then I stay inactive and I do not do anything on firefox for 3-4 mins, the web UI crashes and says "Server disconnected (code : 1006)".
Also, if I try the same thing locally (connecting to the UI with local IP, not thru nginx), the problem doesn't come out.
That's pretty weird because it does not occur on firefox home page; and I also get this problem with handbrake.
There's my nginx configuration for firefox, and a pic of the error.

Capture d’écran 2019-11-09 à 22 30 31
Capture d’écran 2019-11-09 à 22 44 26
Capture d’écran 2019-11-09 à 22 30 44
Capture d’écran 2019-11-09 à 22 28 20

I don't know if I have to post this issue in your github or if I had to post it in the Nginx Proxy Manager's but since I only get this problem with your images I decided to post it here.

High RAM Consumption

I am using the default docker command which is found on the repo. However, it is using all of the RAM on my VPS. I have 10Gb of RAM on my server and the app is using all of it. Why?

Supplying Certificates

Admittedly, I'm a bit new to Docker; but, I'm having some issues supplying my own web HTTPs certificates.

I have some generated through LetsEncrypt on the host machine (same domain). They aren't exactly the same file name; but, I mounted them in the same directory and changed the default-site.conf file to point to them instead.

From there, I committed those changes to the image and started a new container. However, I noticed that the new container and image seems to re-generate the self-signed certs and that my changes to the nginx conf don't stick.

Am I doing something wrong? Any assistance would be much appreciated.

Youtube, Vimeo...

docker-firefox cant play youtube, vimeo and other HTML5 video websites, maybe a incompatible compilation ?! Forgot something...

Sound - Pulseaudio over TCP

Hi, I would like to congratulate for your work, is amazing and runs smoothly!

Recently I had to work with this image to enable audio using Pulseaudio over a TCP socket (instead than mapping /dev/snd), but I was not able to accomplish it.
I tried to install Pulseaudio and set PULSE_SERVER=tcp:MY_IP:MY_PORT but nothing happens (and perform pactl load-module module-native-protocol-tcp port=MY_PORT auth-ip-acl=DOCKER_IP in the server).

Using a complete ubuntu environment docker it works, but that would not be the best choice for me since I just need the software you use + Pulseaudio, not the entire session.

Do you have some advice? Thanks in advance.

contact for commercials

Hi,

Can I have your contact email or any direct message ? Need to discuss some commercials

Thanks

Permission errors on podman

[root@localhost ~]# podman run --rm -it -p 5800:5800 --name=firefox -v /tmp/firefox:/config:z --shm-size 2g jlesage/firefox
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] check-snd.sh: executing...
[cont-init.d] check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
[cont-init.d] check-snd.sh: exited 0.
[cont-init.d] firefox-set-prefs-from-env.sh: executing...
[cont-init.d] firefox-set-prefs-from-env.sh: exited 0.
[cont-init.d] firefox.sh: executing...
[cont-init.d] firefox.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise s6-fdholderd: warning: unable to spawn ./run - waiting 10 seconds
s6-svwait: fatal: timed out
[services.d] starting certsmonitor...
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise certsmonitor: warning: unable to spawn ./run - waiting 10 seconds
s6-svwait: fatal: timed out
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise s6-fdholderd: warning: unable to spawn ./run - waiting 10 seconds
[services.d] starting nginx...
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise certsmonitor: warning: unable to spawn ./run - waiting 10 seconds
s6-svwait: fatal: timed out
[services.d] starting xvfb...
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise xvfb: warning: unable to spawn ./run - waiting 10 seconds
^Cs6-svscan: warning: unable to spawn .s6-svscan/SIGINT: Permission denied
^Cs6-svscan: warning: unable to spawn .s6-svscan/SIGINT: Permission denied
^Cs6-svscan: warning: unable to spawn .s6-svscan/SIGINT: Permission denied
^Cs6-svscan: warning: unable to spawn .s6-svscan/SIGINT: Permission denied

audio on the host instead of the client

Hi
Thank you for your hard work in creating this docker. I have been trying to use the your docker to open up a remote firefox session in my home network, but have been running into an issue where sound is not coming across to the remote machine even though sound is enabled on the host computer. On the remote computer I will connect to the host in a browser using the URL http://192.168.1.222:5800. The inner firefox browser will come up. In the inner firefox browser I then will type the URL youtube.com. I will then select a link on youtube to play a video. The video plays correctly, however the audio plays on my host computer instead of the remote computer.
Is there anything missing from my configuration?
Here is my configuration

Host computer
linux laptop with the latest updates to ubuntu 18.04, docker, pulseaudio, paprefs, pavucontrol installed
IP address: 192.168.1.222
docker run command:
docker run -p 5800:5800 --shm-size 2g --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix jlesage/firefox

Remote computer
Macbook pro with macos mojave
safari url to invoke the remote container:
http://192.168.1.222:5800

docker output on the host
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] check-snd.sh: executing...
[cont-init.d] check-snd.sh: sound device group 29.
[cont-init.d] check-snd.sh: exited 0.
[cont-init.d] firefox.sh: executing...
[cont-init.d] firefox.sh: generating machine-id...
[cont-init.d] firefox.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting nginx...
[services.d] starting certsmonitor...
[nginx] starting...
[services.d] starting xvfb...
[xvfb] starting...
[certsmonitor] disabling service: secure connection not enabled.
[services.d] starting statusmonitor...
[services.d] starting openbox...
[statusmonitor] starting...
[openbox] starting...
[services.d] starting logmonitor...
[services.d] starting x11vnc...
[logmonitor] starting...
[services.d] starting app...
[x11vnc] starting...
09/12/2018 19:31:01 passing arg to libvncserver: -rfbport
09/12/2018 19:31:01 passing arg to libvncserver: 5900
09/12/2018 19:31:01 passing arg to libvncserver: -rfbportv6
09/12/2018 19:31:01 passing arg to libvncserver: -1
09/12/2018 19:31:01 passing arg to libvncserver: -httpportv6
09/12/2018 19:31:01 passing arg to libvncserver: -1
09/12/2018 19:31:01 passing arg to libvncserver: -desktop
09/12/2018 19:31:01 passing arg to libvncserver: Firefox
09/12/2018 19:31:01 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 889
09/12/2018 19:31:01 Using X display :0
09/12/2018 19:31:01 rootwin: 0x43 reswin: 0x400001 dpy: 0xa4f49a00
09/12/2018 19:31:01
09/12/2018 19:31:01 ------------------ USEFUL INFORMATION ------------------
[app] starting Firefox...
[services.d] done.
09/12/2018 19:31:01 X DAMAGE available on display, using it for polling hints.
09/12/2018 19:31:01 To disable this behavior use: '-noxdamage'
09/12/2018 19:31:01
09/12/2018 19:31:01 Most compositing window managers like 'compiz' or 'beryl'
09/12/2018 19:31:01 cause X DAMAGE to fail, and so you may not see any screen
09/12/2018 19:31:01 updates via VNC. Either disable 'compiz' (recommended) or
09/12/2018 19:31:01 supply the x11vnc '-noxdamage' command line option.
09/12/2018 19:31:01 X COMPOSITE available on display, using it for window polling.
09/12/2018 19:31:01 To disable this behavior use: '-noxcomposite'
09/12/2018 19:31:01
09/12/2018 19:31:01 Wireframing: -wireframe mode is in effect for window moves.
09/12/2018 19:31:01 If this yields undesired behavior (poor response, painting
09/12/2018 19:31:01 errors, etc) it may be disabled:
09/12/2018 19:31:01 - use '-nowf' to disable wireframing completely.
09/12/2018 19:31:01 - use '-nowcr' to disable the Copy Rectangle after the
09/12/2018 19:31:01 moved window is released in the new position.
09/12/2018 19:31:01 Also see the -help entry for tuning parameters.
09/12/2018 19:31:01 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/12/2018 19:31:01 repaint the screen, also see the -fixscreen option for
09/12/2018 19:31:01 periodic repaints.
09/12/2018 19:31:01 GrabServer control via XTEST.
09/12/2018 19:31:01
09/12/2018 19:31:01 Scroll Detection: -scrollcopyrect mode is in effect to
09/12/2018 19:31:01 use RECORD extension to try to detect scrolling windows
09/12/2018 19:31:01 (induced by either user keystroke or mouse input).
09/12/2018 19:31:01 If this yields undesired behavior (poor response, painting
09/12/2018 19:31:01 errors, etc) it may be disabled via: '-noscr'
09/12/2018 19:31:01 Also see the -help entry for tuning parameters.
09/12/2018 19:31:01 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/12/2018 19:31:01 repaint the screen, also see the -fixscreen option for
09/12/2018 19:31:01 periodic repaints.
09/12/2018 19:31:01
09/12/2018 19:31:01 XKEYBOARD: number of keysyms per keycode 7 is greater
09/12/2018 19:31:01 than 4 and 51 keysyms are mapped above 4.
09/12/2018 19:31:01 Automatically switching to -xkb mode.
09/12/2018 19:31:01 If this makes the key mapping worse you can
09/12/2018 19:31:01 disable it with the "-noxkb" option.
09/12/2018 19:31:01 Also, remember "-remap DEAD" for accenting characters.
09/12/2018 19:31:01
09/12/2018 19:31:01 X FBPM extension not supported.
09/12/2018 19:31:01 X display is not capable of DPMS.
09/12/2018 19:31:01 --------------------------------------------------------
09/12/2018 19:31:01
09/12/2018 19:31:01 Default visual ID: 0x21
09/12/2018 19:31:01 Read initial data from X display into framebuffer.
09/12/2018 19:31:01 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
09/12/2018 19:31:01
09/12/2018 19:31:01 X display :0 is 32bpp depth=24 true color
9/12/2018 19:31:01
09/12/2018 19:31:01 Listening for VNC connections on TCP port 5900
09/12/2018 19:31:01
09/12/2018 19:31:01 Xinerama is present and active (e.g. multi-head).
09/12/2018 19:31:01 Xinerama: number of sub-screens: 1
09/12/2018 19:31:01 Xinerama: no blackouts needed (only one sub-screen)
09/12/2018 19:31:01
09/12/2018 19:31:01 fb read rate: 1438 MB/sec
09/12/2018 19:31:01 fast read: reset -wait ms to: 10
09/12/2018 19:31:01 fast read: reset -defer ms to: 10
09/12/2018 19:31:01 The X server says there are 10 mouse buttons.
09/12/2018 19:31:01 screen setup finished.
09/12/2018 19:31:01

The VNC desktop is: e726fed66d86:0
PORT=5900

09/12/2018 19:31:46 Got connection from client 127.0.0.1
09/12/2018 19:31:46 other clients:
09/12/2018 19:31:46 Got 'ws' WebSockets handshake
09/12/2018 19:31:46 Got protocol: binary
09/12/2018 19:31:46 - webSocketsHandshake: using binary/raw encoding
09/12/2018 19:31:46 - WebSockets client version hybi-13
09/12/2018 19:31:46 Disabled X server key autorepeat.
09/12/2018 19:31:46 to force back on run: 'xset r on' (3 times)
09/12/2018 19:31:46 incr accepted_client=1 for 127.0.0.1:49258 sock=10
09/12/2018 19:31:47 created xdamage object: 0x40002c
09/12/2018 19:31:47 Client Protocol Version 3.8
09/12/2018 19:31:47 Protocol version sent 3.8, using 3.8
09/12/2018 19:31:47 rfbProcessClientSecurityType: executing handler for type 1
09/12/2018 19:31:47 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
09/12/2018 19:31:47 client_set_net: 127.0.0.1 0.0001
09/12/2018 19:31:47 Pixel format for client 127.0.0.1:
09/12/2018 19:31:47 32 bpp, depth 24, little endian
09/12/2018 19:31:47 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
09/12/2018 19:31:47 no translation needed
09/12/2018 19:31:47 Enabling NewFBSize protocol extension for client 127.0.0.1
09/12/2018 19:31:47 Enabling full-color cursor updates for client 127.0.0.1
09/12/2018 19:31:47 Using image quality level 6 for client 127.0.0.1
09/12/2018 19:31:47 Using JPEG subsampling 0, Q79 for client 127.0.0.1
09/12/2018 19:31:47 Using compression level 9 for client 127.0.0.1
09/12/2018 19:31:47 Enabling LastRect protocol extension for client 127.0.0.1
09/12/2018 19:31:47 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
09/12/2018 19:31:47 Using tight encoding for client 127.0.0.1
09/12/2018 19:31:52 client 1 network rate 16.1 KB/sec (1378.7 eff KB/sec)
09/12/2018 19:31:52 client 1 latency: 41.7 ms
09/12/2018 19:31:52 dt1: 0.0190, dt2: 2.8554 dt3: 0.0417 bytes: 45930
09/12/2018 19:31:52 link_rate: LR_DIALUP - 41 ms, 16 KB/s
09/12/2018 19:31:53 copy_tiles: allocating first_line at size 41
09/12/2018 19:31:56 created selwin: 0x40002d
09/12/2018 19:31:56 called initialize_xfixes()
09/12/2018 19:34:49 increased wireframe timeouts for slow network connection.
09/12/2018 19:34:49 netrate: 16 KB/sec, latency: 41 ms
09/12/2018 19:38:18 client_count: 0
09/12/2018 19:38:18 Restored X server key autorepeat to: 1
09/12/2018 19:38:18 Client 127.0.0.1 gone
09/12/2018 19:38:18 Statistics events Transmit/ RawEquiv ( saved)
09/12/2018 19:38:18 ServerCutText : 2 | 70/ 70 ( 0.0%)
09/12/2018 19:38:18 FramebufferUpdate : 606 | 0/ 0 ( 0.0%)
09/12/2018 19:38:18 LastRect : 92 | 1104/ 1104 ( 0.0%)
09/12/2018 19:38:18 tight : 2006 | 1105848/ 46409736 ( 97.6%)
09/12/2018 19:38:18 RichCursor : 1 | 1374/ 1374 ( 0.0%)
09/12/2018 19:38:18 TOTALS : 2707 | 1108396/ 46412284 ( 97.6%)
09/12/2018 19:38:18 Statistics events Received/ RawEquiv ( saved)
09/12/2018 19:38:18 KeyEvent : 58 | 464/ 464 ( 0.0%)
09/12/2018 19:38:18 PointerEvent : 2164 | 12984/ 12984 ( 0.0%)
09/12/2018 19:38:18 FramebufferUpdate : 606 | 6060/ 6060 ( 0.0%)
09/12/2018 19:38:18 SetEncodings : 1 | 56/ 56 ( 0.0%)
09/12/2018 19:38:18 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
09/12/2018 19:38:18 TOTALS : 2830 | 19584/ 19584 ( 0.0%)
09/12/2018 19:38:18 destroyed xdamage object: 0x40002c
09/12/2018 19:41:56 Got connection from client 127.0.0.1
09/12/2018 19:41:56 other clients:
09/12/2018 19:41:56 Got 'ws' WebSockets handshake
09/12/2018 19:41:56 Got protocol: binary
09/12/2018 19:41:56 - webSocketsHandshake: using binary/raw encoding
09/12/2018 19:41:56 - WebSockets client version hybi-13
09/12/2018 19:41:56 Disabled X server key autorepeat.
09/12/2018 19:41:56 to force back on run: 'xset r on' (3 times)
09/12/2018 19:41:56 incr accepted_client=2 for 127.0.0.1:49468 sock=10
09/12/2018 19:41:57 created xdamage object: 0x40002e
09/12/2018 19:41:58 Client Protocol Version 3.8
09/12/2018 19:42:01 Pixel format for client 127.0.0.1:
09/12/2018 19:42:01 32 bpp, depth 24, little endian
09/12/2018 19:42:01 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
09/12/2018 19:42:01 no translation needed
09/12/2018 19:42:01 Enabling NewFBSize protocol extension for client 127.0.0.1
09/12/2018 19:42:01 Enabling full-color cursor updates for client 127.0.0.1
09/12/2018 19:42:01 Using image quality level 6 for client 127.0.0.1
09/12/2018 19:42:01 Using JPEG subsampling 0, Q79 for client 127.0.0.1
09/12/2018 19:42:01 Using compression level 9 for client 127.0.0.1
09/12/2018 19:42:01 Enabling LastRect protocol extension for client 127.0.0.1
09/12/2018 19:42:01 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
09/12/2018 19:42:01 Using tight encoding for client 127.0.0.1
09/12/2018 19:42:01 client_set_net: 127.0.0.1 0.0001
09/12/2018 19:42:36 got closure, reason 1001
09/12/2018 19:42:36 rfbProcessClientNormalMessage: read: Connection reset by peer
09/12/2018 19:42:36 client_count: 0
09/12/2018 19:42:36 Restored X server key autorepeat to: 1
09/12/2018 19:42:36 Client 127.0.0.1 gone
09/12/2018 19:42:36 Statistics events Transmit/ RawEquiv ( saved)
09/12/2018 19:42:36 FramebufferUpdate : 32 | 0/ 0 ( 0.0%)
09/12/2018 19:42:36 LastRect : 2 | 24/ 24 ( 0.0%)
09/12/2018 19:42:36 tight : 60 | 11283/ 4089936 ( 99.7%)
09/12/2018 19:42:36 RichCursor : 1 | 1374/ 1374 ( 0.0%)
09/12/2018 19:42:36 TOTALS : 95 | 12681/ 4091334 ( 99.7%)
09/12/2018 19:42:36 Statistics events Received/ RawEquiv ( saved)
09/12/2018 19:42:36 PointerEvent : 112 | 672/ 672 ( 0.0%)
09/12/2018 19:42:36 FramebufferUpdate : 32 | 320/ 320 ( 0.0%)
09/12/2018 19:42:36 SetEncodings : 1 | 56/ 56 ( 0.0%)
09/12/2018 19:42:36 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
09/12/2018 19:42:36 TOTALS : 146 | 1068/ 1068 ( 0.0%)
09/12/2018 19:42:36 destroyed xdamage object: 0x40002e
09/12/2018 19:42:36 Got connection from client 127.0.0.1
09/12/2018 19:42:36 other clients:
09/12/2018 19:42:36 Got 'ws' WebSockets handshake
09/12/2018 19:42:36 Got protocol: binary
09/12/2018 19:42:36 - webSocketsHandshake: using binary/raw encoding
09/12/2018 19:42:36 - WebSockets client version hybi-13
09/12/2018 19:42:36 Disabled X server key autorepeat.
09/12/2018 19:42:36 to force back on run: 'xset r on' (3 times)
09/12/2018 19:42:36 incr accepted_client=3 for 127.0.0.1:49474 sock=10
09/12/2018 19:42:36 Client Protocol Version 3.8
09/12/2018 19:42:36 Protocol version sent 3.8, using 3.8
09/12/2018 19:42:36 rfbProcessClientSecurityType: executing handler for type 1
09/12/2018 19:42:36 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8

Firefox version?

how about making the firefox version an environment variable, so its easier to launch an updated version?

How to add a font type?

I tried to change the firefox language to chinese simplified, but it didn't work well because less of chinese font in docker container.
How could I add a font into docker container?

Docker container recently stopped working

I recently switched from Ubuntu to Centos 7 on my linux server, and initially had this project working after the update. But then - out of nowhere, it just fails to work correctly. When I try to run it, it just exits after 5-10 seconds. I'm pretty new to docker, and an amateur with Linux, but am not sure exactly what is going on here. There are two unsupported file format errors, but am not really sure what they are pertaining to. Can anyone point me in the right direction to get this working again? Attached is the log file.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] check-snd.sh: executing...
[cont-init.d] check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
[cont-init.d] check-snd.sh: exited 0.
[cont-init.d] firefox-set-prefs-from-env.sh: executing...
[cont-init.d] firefox-set-prefs-from-env.sh: exited 0.
[cont-init.d] firefox.sh: executing...
[cont-init.d] firefox.sh: generating machine-id...
Error: unsupported file format
[cont-init.d] firefox.sh: exited 1.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] check-snd.sh: executing...
[cont-init.d] check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
[cont-init.d] check-snd.sh: exited 0.
[cont-init.d] firefox-set-prefs-from-env.sh: executing...
[cont-init.d] firefox-set-prefs-from-env.sh: exited 0.
[cont-init.d] firefox.sh: executing...
Error: unsupported file format
[cont-init.d] firefox.sh: exited 1.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Password Prompt Dialog Not Working on iPad/iPhone

Hi,

First I want to say, I love your firefox docker! I have tried quite a few, and you are the best :)
However, when I tried to access via my iphone/iPad. I cannot access .

I use the password authentication. No matter I use Safari, Firefox, or Chrome on my iPad/iphone. the password dialog just won't open.

Thanks!

Update Firefox

Hi,
thanks for this great image! I use it daily without any problems.
Could you please update Firefox to the latest version?

Synology : Server disconnected (code 1006)

Hello,

I'm getting the error : server disconnected (code 1006).
From googling I suppose this is not purely related to docker-firefox but I can't find what is wrong with my configuration.

The docker is installed on my Synology and reached through the embedded nginx of the NAS.
I try to reach it from a subdomain configured to reach the port 5800 of the docker image.

The session starts (I can see the navbar) but after a while I get this error.

Here's some log from the docker image :
10/12/2018 10:12:13 Got connection from client 127.0.0.1
10/12/2018 10:12:13 other clients:
10/12/2018 10:12:13 Got 'ws' WebSockets handshake
10/12/2018 10:12:13 Got protocol: binary
10/12/2018 10:12:13 - webSocketsHandshake: using binary/raw encoding
10/12/2018 10:12:13 - WebSockets client version hybi-13
10/12/2018 10:12:13 Disabled X server key autorepeat.
10/12/2018 10:12:13 to force back on run: 'xset r on' (3 times)
10/12/2018 10:12:13 incr accepted_client=7 for 127.0.0.1:60684 sock=10
10/12/2018 10:12:13 created xdamage object: 0x600031
10/12/2018 10:13:13 rfbProcessClientProtocolVersion: client gone
10/12/2018 10:13:13 client_count: 0
10/12/2018 10:13:13 Restored X server key autorepeat to: 1
10/12/2018 10:13:13 Client 127.0.0.1 gone
10/12/2018 10:13:13 Statistics events Transmit/ RawEquiv ( saved)
10/12/2018 10:13:13 TOTALS : 0 | 0/ 0 ( 0.0%)
10/12/2018 10:13:13 Statistics events Received/ RawEquiv ( saved)
10/12/2018 10:13:13 TOTALS : 0 | 0/ 0 ( 0.0%)
10/12/2018 10:13:16 destroyed xdamage object: 0x600031

Regards

Proxy user and pass automation

Hi Guys, how are you?
Just to let you know, your docker firefox is amazin!

Sadly i camed with one issue. I want to automate the configuration of a proxy but the proxy requieres user and password authentication.
Do you know how can i automate this? I tried to pass it to the proxy variable like user:pass@proxy but it didnt work.

Any solutions?
Best regards!

Can someone explain how to access the local file system via this browser?

Basically, I am sitting in front of my workstation with a browser and am browsing to my docker-firefox browser and would like to upload a file buzt the upload mask only has accessto the "local" file system of the docker container.

Is there a way to give it access to my workstation's fiel system?

Hope I explained that in a way to convey the right question.

Dockerfile for baseimage ubuntu

Is it possible to get a Dockerfile for baseimage ubuntu 16.04 or 18.04? I'm having trouble configuring vpnc in the alpine image...

Add Button To ReOpen

How do you reopen the browser if you "Quit" it. If youre remote, you dont always have accesss to "restart". Isnt there a way to add a button to relaunch it?

Fullscreen toggle on the navigation bar

Hi, thank you for this awesome container... it works very well on old iPads and allows me to use newer sites like Home Assistant and Polymer which is NOT supported on iOS 9.3.5 anymore.

I have an enhancement if possible: pressing the hamburger inside of the container's Firefox and next to the zoom buttons there's a full-screen (F11) button. Once you click that, it's impossible to click F11 on an iPad and I have to go to a computer to get it out of Firefox's full-screen mode. Would it be possible to have an F11 button in the navigation bar?

All the best!

Use latest version of firefox

First, thanks for your docker Firefox, it rocks!
I tried to use the FIREFOX_VERSION=66.0.4-rc0 to have a most recent version of FF but without success. This package is in the repo Alpine Testing and you add it in the dockerfile:

RUN \
    add-pkg --repository http://dl-cdn.alpinelinux.org/alpine/edge/main \
            --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
            --upgrade firefox=${FIREFOX_VERSION}

I checked logs in the container and there is a lot of useful information but nothing on this part. It will great to have a log on the version of Firefox selected from the environment variable and the list of all FF versions available.

For me, to have the (al)most recent version of Firefox is really important as a lot of security fixes have been applied.

Puppeteer Websocket connection Error

hello

i have a issue when i want to connect via websocket

my code :

const puppeteer = require('puppeteer-firefox');

(async () => {
try {
const browser = await puppeteer.connect({ browserWSEndpoint: 'ws://localhost:5800'});
const page = await browser.newPage();

    await page.goto('http://www.example.com/');
    const data = await page.screenshot();
    browser.close();
    
} catch(e ) {
    console.log(e)
}

})();

I got that message :

error: Error: Unexpected server response: 200

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.