Public | Automated Build

Last pushed: a year ago
Short Description
Image with asciinema and asciinema2gif
Full Description


Build your own image

sudo docker build -t asciinema2gif .

Test image

sudo docker run -it --name asciinema-some lhuckaz/asciinema2gif asciinema rec


Test image with docker commands and keep container in background

sudo docker run -d --name asciinema-some -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker lhuckaz/asciinema2gif sleep infinity

Run commands in background container

sudo docker exec -it asciinema-some asciinema rec

Run asciinema2gif with nº (Ex.

 sudo docker exec -it asciinema-some asciinema2gif --size small --speed 2 --theme solarized-dark -o "/home/asciinema/another.gif"<nº>

Copiar .gif for your host

sudo docker cp asciinema-some:/home/asciinema/another.gif ~/another.gif
Docker Pull Command
Source Repository