improved posix support and first cut docker integration

for review