Add dock mode.
Add docker script and documentation.