1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/vnc2flv
2016-11-24 12:28:28 +08:00
..
docker-compose.yml update hans 2016-11-24 12:28:28 +08:00
Dockerfile add vnc2flv 2016-11-15 08:41:05 +08:00
README.md update hans 2016-11-24 12:28:28 +08:00

vnc2flv

Vnc2flv is a cross-platform screen recording tool for UNIX, Windows or Mac. It captures a VNC desktop session (either your own screen or a remote computer) and saves as a Flash Video (FLV) file.

This docker image works very well with selenium/standalone-firefox-debug.

docker-compose.yml

vnc2flv:
  image: vimagick/vnc2flv
  command: -P /pwdfile -o record.flv localhost 5900
  volumes:
    - ./pwdfile:/pwdfile
    - ./data:/data
  net: host
  stop_signal: SIGINT

Up and Running

# Create passwd file
$ echo secret > pwdfile

# Start recording
$ docker-compose up -d

# Stop recording
$ docker-compose stop

# View logs
$ docker-compose logs
Attaching to vnc2flv_vnc2flv_1
vnc2flv_1  | start recording
vnc2flv_1  | stop recording