andrewmackrodt / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWUbuntu 22.04 Docker Images for Server and Desktop.
Home Page: https://hub.docker.com/u/andrewmackrodt
License: MIT License
Ubuntu 22.04 Docker Images for Server and Desktop.
Home Page: https://hub.docker.com/u/andrewmackrodt
License: MIT License
Hello, i am not sure why we differ in sha256
My sha:
hadatko@doupe:~$ sha256sum lastbld2.zip
5d3b320e111fd3f8790bee3b64d160abc0a3abe4b5abf674a59d0324a1267398 lastbld2.zip
Your sha
[WARN] No BIOS files found in /bios
[WARN] BIOS files will be downloaded from ~/lastbld2.zip
[WARN] Sleeping for 5 seconds, press CTRL+C now to abort ...
[ERR] Checksum mismatch /tmp/ps2_bios.zip e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
ls: cannot access '/usr/lib/games/PCSX2': No such file or directory
Hi, nice work on the chromium-x11 image,
It might be good to also support arm and arm64 with a docker manifest (multi-arch image).
Hi, I possible have found a weird bug on a dockerfiles/chromium-x11 application.
OS Host: Linux local 5.16.0-kali6-amd64 #1 SMP PREEMPT Debian 5.16.14-1kali2 (2022-03-23) x86_64 GNU/Linux
Docker: Docker version 20.10.11+dfsg1, build dea9396
SELinux status: disabled
• Chromium-x11 was installed via Usage section instructions
• X11 Application successfully started by:
$ docker start [container]
• Browser settings stored properly, even through restarting;
• The BUG itself: Unable to access host files from container mounted directory.
I did not change any values from Usage instruction,
my binded dirs are:
...
-v $HOME/Downloads:/downloads \
-v $HOME/.config/chromium:/data \
...
those folders contains previously used application settings & files.
For example:
• I tried to rebuild the image, clear the cache of the docker, the browser, nothing helps
Cannot understand how to fix that, and what is the cause of the problem.
Thanks for replies.
Hi, i am getting quite a lot of errors within your configuration example. Am i doing it wrong?
Every boot:
id: ‘ubuntu’: no such user
chown: invalid user: ‘ubuntu:ubuntu’
chown: invalid user: ‘ubuntu:ubuntu’
chown: invalid user: ‘ubuntu:ubuntu’
id: ‘ubuntu’: no such user
[WARN] No BIOS files found in /bios
[WARN] BIOS files will be downloaded from ~/lastbld2.zip
[WARN] Sleeping for 5 seconds, press CTRL+C now to abort ...
[ERR] Checksum mismatch /tmp/ps2_bios.zip e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
ls: cannot access '/usr/lib/games/PCSX2': No such file or directory
[ERR] PCSX2 will not function without a BIOS
/usr/local/bin/pcsx2-bootstrap: 125: exec: : Permission denied
My compose file
version: "3.8"
services:
pcsx2:
image: andrewmackrodt/pcsx2-x11:latest
container_name: pcsx2
network_mode: local
environment:
- BIOS_ZIP=~/lastbld2.zip
- BIOS_CHECKSUM=5d3b320e111fd3f8790bee3b64d160abc0a3abe4b5abf674a59d0324a1267398
- PUID=$(id -u)
- PGID=$(id -g)
- DISPLAY=unix$DISPLAY
- LANG=${LANG:-en_US.UTF-8}
volumes:
- pcsx2_PS2:/games:ro
- pcsx2_data:/data
- pcsx2_bios:/bios
- pcsx2_plugins:/plugins
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /etc/machine-id:/etc/machine-id:ro
- pcsx2_pulse:/home/ubuntu/.config/pulse:ro
- /run/user/$(id -u)/pulse:/run/user/$(id -u)/pulse:ro
- /run/udev/data:/run/udev/data:ro
- /etc/localtime:/etc/localtime:ro
devices:
- /dev/input:/dev/input
- /dev/snd:/dev/snd
- /dev/dri:/dev/dri
cap_add:
- NET_ADMIN
volumes:
pcsx2_PS2:
pcsx2_data:
pcsx2_bios:
pcsx2_plugins:
pcsx2_pulse:
zip:
hadatko@doupe:~$ sha256sum lastbld2.zip
5d3b320e111fd3f8790bee3b64d160abc0a3abe4b5abf674a59d0324a1267398 lastbld2.zip
Hi, i think i have it correctly now, but still getting these
ls: cannot access '/usr/lib/games/PCSX2': No such file or directory
[WARN] BIOS is not set defaulting to SCPH7003.bin
/usr/local/bin/pcsx2-bootstrap: 125: exec: : Permission denied
version: "3.8"
services:
pcsx2:
image: andrewmackrodt/pcsx2-x11:latest
container_name: pcsx2
network_mode: local
privileged: true
environment:
# - BIOS_ZIP=~/lastbld2.zip #web url
# - BIOS_CHECKSUM=5d3b320e111fd3f8790bee3b64d160abc0a3abe4b5abf674a59d0324a1267398
- PUID=1000
- PGID=1000
- DISPLAY=unix$DISPLAY
- LANG=${LANG:-en_US.UTF-8}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /etc/machine-id:/etc/machine-id:ro
- /run/user/1000/pulse:/run/user/1000/pulse:ro
- pcsx2_pulse:/home/ubuntu/.config/pulse:ro
- /run/udev/data:/run/udev/data:ro
- /etc/localtime:/etc/localtime:ro
- pcsx2_PS2:/games:ro
- pcsx2_data:/data
- pcsx2_bios:/bios
- pcsx2_plugins:/plugins
devices:
- /dev/input:/dev/input
- /dev/snd:/dev/snd
- /dev/dri:/dev/dri
cap_add:
- NET_ADMIN
volumes:
pcsx2_PS2:
pcsx2_data:
pcsx2_bios:
pcsx2_plugins:
pcsx2_pulse:
i figured cloning the https://github.com/andrewmackrodt/dockerfiles was the only way to grab the files for the dolphin emulator. At this point I am unsure of how to proceed. The emulator yml file does not expose any ports so i wouldn't know how to connect to it once its up and running. I can fumble through adding the games via mount points but before I do that I need to understand how to use the emulator. Just for the record I already have an nvidia gpu passed through the docker host so i am looking for direction in regards to using the dolphin emulator. Any suggestions would be appreciated, thanks!!
*** I figured out that i need to run Make (even though i have no idea what to do after that lol) but I get the error below:
[2022-28-06 03:10:55] dockermax.FATAL: no build.properties file(s)
make[1]: *** [../Makefile.mk:16: do-build] Error 255
make[1]: Leaving directory '/var/lib/docker/volumes/dolphin/dockerfiles/php'
make: *** [Makefile:3: build] Error 2
Please advise.
The recent update to the nodejs image looks to have broken access to Yarn and python2 is no longer installed
the Yarn issue is easy to get around by passing the full path but I am getting
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
when running yarn install and from what i can see python2 is not installws
Hello @andrewmackrodt !
First, I want to thank you for this impressive work which help me a lot !
I noticed a small bug when starting the container from the chromium-x11 image published on Docker Hub.
I exactly ran the commands from the project's documentation to create a chromium-x11
container.
fmichaud@m***d:~/Documents/Workspace/tmp/x11$ # detect gpu devices to pass through
GPU_DEVICES=$( \
echo "$( \
find /dev -maxdepth 1 -regextype posix-extended -iregex '.+/nvidia([0-9]|ctl)' \
| grep --color=never '.' \
|| echo '/dev/dri'\
)" \
| sed -E "s/^/--device /" \
)
# get the xdg runtime dir
XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}"
# create the container
docker create \
--name chromium \
--cap-add SYS_ADMIN \
--security-opt apparmor:unconfined \
--net host \
--device /dev/input \
--device /dev/snd \
$GPU_DEVICES \
-v $HOME/Downloads:/downloads \
-v $HOME/.config/chromium:/data \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-e DISPLAY=unix$DISPLAY \
-e LANG=${LANG:-en_US.UTF-8} \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v /dev/shm:/dev/shm \
-v $HOME/.config/pulse:/home/ubuntu/.config/pulse:ro \
-v /etc/machine-id:/etc/machine-id:ro \
-v $XDG_RUNTIME_DIR/pulse:$XDG_RUNTIME_DIR/pulse:ro \
-v $XDG_RUNTIME_DIR/bus:$XDG_RUNTIME_DIR/bus:ro \
-v /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:ro \
-v /run/dbus:/run/dbus:ro \
-v /run/udev/data:/run/udev/data:ro \
-v /etc/localtime:/etc/localtime:ro \
andrewmackrodt/chromium-x11
8515f7a409c1eea6d586ea88e6ddb1c0083922d11eeea04dc422cb8ba5196d4d
All seems ok :
fmichaud@m***d:~/Documents/Workspace/tmp/x11$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8515f7a409c1 andrewmackrodt/chromium-x11 "/usr/local/bin/dock…" 2 minutes ago Created chromium
As expected the container has no log because it is not started :
fmichaud@mitterrand:~/Documents/Workspace/tmp/x11$ docker logs chromium
fmichaud@mitterrand:~/Documents/Workspace/tmp/x11$
fmichaud@m**d:~/Documents/Workspace/tmp/x11$ docker start chromium
chromium
The container starts then immediately exits :
fmichaud@m**d:~/Documents/Workspace/tmp/x11$ docker logs chromium
Command '/usr/bin/chromium-browser' requires the chromium snap to be installed.
Please install it with:
snap install chromium
The snap
command of related package manager needs snapd
daemon to correctly run. However, the snapd
process is not running in the container.
I propose to use the apt
package manager using the repositories of the underlying debian version provided by ppa:savoury1
.
At your disposal,
Kind regards from Paris 🇫🇷.
Hello! Spotify-x11 doesnt support scaling with docker-compose --scale
user@pc:~/docker/dockerfiles/spotify-x11$ docker-compose up --scale spotify=10
Starting spotify-x11_spotify_1 ... done
Starting spotify-x11_spotify_2 ... done
Starting spotify-x11_spotify_3 ... done
Creating spotify-x11_spotify_4 ... done
Creating spotify-x11_spotify_5 ... done
Creating spotify-x11_spotify_6 ... done
Creating spotify-x11_spotify_7 ... done
Creating spotify-x11_spotify_8 ... done
Creating spotify-x11_spotify_9 ... done
Creating spotify-x11_spotify_10 ... done
Attaching to spotify-x11_spotify_1, spotify-x11_spotify_2, spotify-x11_spotify_3, spotify-x11_spotify_10, spotify-x11_spotify_8, spotify-x11_spotify_6, spotify-x11_spotify_5, spotify-x11_spotify_4, spotify-x11_spotify_9, spotify-x11_spotify_7
spotify_3 | [1115/195111.299093:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
spotify_2 | [1115/195111.379569:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
spotify-x11_spotify_3 exited with code 133
spotify-x11_spotify_2 exited with code 133
spotify_6 | [1115/195112.519929:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
spotify-x11_spotify_6 exited with code 133
spotify-x11_spotify_9 exited with code 0
spotify-x11_spotify_7 exited with code 0
spotify-x11_spotify_4 exited with code 0
spotify-x11_spotify_8 exited with code 0
spotify-x11_spotify_10 exited with code 0
spotify-x11_spotify_5 exited with code 0
spotify-x11_spotify_1 exited with code 0
3 processes were crashed, all others expect first are unusuable because they share login info
Hello,
The image works perfectly fine with everything except the PS4 controller which I'm failing to get to be recognized even with the --privileged flag. Can you explain how you got the setup correctly (and maybe update the README accordingly)?
With or without ds4drv (installed on host system) I cannot get OnePad to detect the controller at all. I always get the message "No gamepad detected". So perhaps I'm missing the steps to expose the controller correctly to Docker.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.