Updating docker exec method