updated error logging
fixed bug with latest docker-py (privileged moved to start)