Add flags for Docker loginUser
Remove unused examples and tidy up the rest