improved posix support and first cut docker integration