Add more error handling and refactoring
Link docker-enter as well

docker-attach may be replaced with using nsinit