четверг, 11 апреля 2013 г.

Tips for using docker: remove running containers, make new image, run image, reading logs

Docker - in two words this is a manager of LXC containers.

But I guess you know more about docker if you are here.

Note: I don't know anything about your environment and running processes, so use next commands on your own risk.

Improved screencast with Byzanz

Byzanz - small and useful utility for screencast which generate GIF on the output.

You can find more information about byzanz here and here.

Typical you are using Byzanz like that:

$ byzanz-record --duration=45 --delay=10 --x=0 --y=87 --width=860 --height=520 output.gif

Next, you are trying to hide anything in 10 seconds and doesn't know exactly when 45 seconds are, hell, will over.

I done small improvement to solve this issue: