Zandronum sous Docker avec noVNC

Zandronum sous Docker avec noVNC.

Distribution de travail : Ubuntu 16.04.4 LTS Xenial
Docker : 17.05.0-ce

1/ Configuration de l’utilisateur.

util01@station02:~$ sudo usermod -a -G docker $USER
util01@station02:~$ sudo chmod 666 /var/run/docker.sock

2/ Répertoire de travail.

util01@station02:~$ mkdir -p JEUX/DOOM/Docker
util01@station02:~$ cd JEUX/DOOM/Docker/
util01@station02:~/JEUX/DOOM/Docker$ 

3/ Téléchargement de l’image Docker.

util01@station02:~/JEUX/DOOM/Docker$ git clone https://gitlab.com/frozenfoxx/docker-zandronum.git
Clonage dans 'docker-zandronum'...
remote: Counting objects: 75, done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 75 (delta 29), reused 57 (delta 19)
Dépaquetage des objets: 100% (75/75), fait.
Vérification de la connectivité... fait.
util01@station02:~/JEUX/DOOM/Docker$ 
util01@station02:~/JEUX/DOOM/Docker$ cd docker-zandronum
util01@station02:~/JEUX/DOOM/Docker/docker-zandronum$ 

4/ Construction de l’image Docker.

util01@station02:~/JEUX/DOOM/Docker/docker-zandronum$ docker build -t frozenfoxx/zandronum:latest .
Sending build context to Docker daemon  216.6kB
Step 1/15 : FROM ubuntu:18.04
18.04: Pulling from library/ubuntu
7996ebd2246a: Pull complete 
...
 ---> f97d9ba97e2b
Removing intermediate container 8b018d6cabe5
Step 3/15 : ENV HOME /root APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE DontWarn DEBIAN_FRONTEND noninteractive DISPLAY :0.0 DISPLAY_WIDTH 1280 DISPLAY_HEIGHT 720 DOOMWADDIR '/wads' FILES '' LANG en_US.UTF-8 LANGUAGE en_US.UTF-8 LC_ALL C.UTF-8
 ---> Running in 7aa7bec93af8
 ---> fa9ac565c948
Removing intermediate container 7aa7bec93af8
Step 4/15 : RUN apt-get update &&     apt-get upgrade -y &&     apt-get install -y       bash       git       gnupg       libglu1-mesa       libgtk2.0       net-tools       socat       software-properties-common       supervisor       wget       x11vnc       xvfb
 ---> Running in bb1daff4b6c9
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
...
Setting up libglib2.0-cil-dev (2.12.40-2) ...
Setting up libmono-security4.0-cil (4.6.2.7+dfsg-1ubuntu1) ...
...
Step 5/15 : RUN git clone https://github.com/novnc/noVNC.git /root/noVNC &&   ln -s /root/noVNC/vnc_lite.html /root/noVNC/index.html
 ---> Running in cd6fae3c7eac
Cloning into '/root/noVNC'...
...
Step 15/15 : ENTRYPOINT /usr/local/bin/entrypoint.sh
 ---> Running in d301c0b3a781
 ---> bcc6df6d4edc
Removing intermediate container d301c0b3a781
Successfully built bcc6df6d4edc
Successfully tagged frozenfoxx/zandronum:latest
util01@station02:~/JEUX/DOOM/Docker/docker-zandronum$ 

5/ Lancement de Zandronum sous Docker avec noVNC.

util01@station02:~/JEUX/DOOM/Docker/docker-zandronum$ docker run -it --rm -p 8080:8080 -v /home/util01/JEUX/DOOM/Wads:/wads   --name=zandronum  frozenfoxx/zandronum:latest
2018-07-24 19:59:40,115 CRIT Supervisor running as root (no user in config file)
2018-07-24 19:59:40,115 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2018-07-24 19:59:40,128 INFO RPC interface 'supervisor' initialized
2018-07-24 19:59:40,128 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2018-07-24 19:59:40,128 INFO supervisord started with pid 7
2018-07-24 19:59:41,130 INFO spawned: 'x11vnc' with pid 14
2018-07-24 19:59:41,132 INFO spawned: 'X11' with pid 15
2018-07-24 19:59:41,135 INFO spawned: 'socat' with pid 16
2018-07-24 19:59:41,146 INFO spawned: 'novnc' with pid 17
Zandronum 3.0 - 170901-1140 - SDL version
Compiled on Sep  1 2017
Using video driver x11

M_LoadDefaults: Load system defaults.
Gameinfo scan took 0 ms
2018-07-24 19:59:42,168 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-07-24 19:59:42,168 INFO success: X11 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-07-24 19:59:42,169 INFO success: socat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-07-24 19:59:42,169 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
W_Init: Init WADfiles.
 adding /usr/games/zandronum/zandronum.pk3, 689 lumps
 adding /wads/doom2.wad, 2919 lumps
I_Init: Setting up machine state.
CPU Vendor ID: AuthenticAMD
  Name: AMD Phenom(tm) II X2 550 Processor
  Family 16 (16), Model 4, Stepping 2
  Features: MMX MMX+ SSE SSE2 SSE3 3DNow! 3DNow!+
I_InitSound: Initializing FMOD
FMOD Sound System, copyright � Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.24.16
OSS could not be initialized. Trying ALSA.
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
  System::init returned error code 62
Sound init failed. Using nosound.
V_Init: allocate screen.
Using in-memory database. The database will not be saved on exit.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
PWO_Init: Initializing preferred weapon order.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading default status bar definition.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Initializing network subsystem.
IP address 172.17.0.2:10667
UDP Initialized.
Resolution: 1280 x 720
Starting MIDI playback failed
Playing demo DEMO1
Cannot play non-ZDoom demos.


MAP01 - entryway

Starting MIDI playback failed
Picked up a clip.
Picked up a clip.
util01@station02:~/JEUX/DOOM/Docker/docker-zandronum$ 

6/ Captures d’écran.

7/ Liens.

https://gitlab.com/frozenfoxx/docker-zandronum
https://www.docker.com/
http://novnc.com/info.html
https://zandronum.com/

Comments are closed, but trackbacks and pingbacks are open.