用dockerlogin到zeppelin的问题

我已经下载了许多zeppeling / spark图像,并且所有这些图像都无法login到笔记本中。 这是容器中的shiro.ini文件:

... admin = password1 user1 = password2 user2 = password3 # Sample LDAP configuration, for user Authentication, currently tested for single Realm [main] #ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm #ldapRealm.userDnTemplate = cn={0},cn=engg,ou=testdomain,dc=testdomain,dc=com #ldapRealm.contextFactory.url = ldap://ldaphost:389 #ldapRealm.contextFactory.authenticationMechanism = SIMPLE [urls] # anon means the access is anonymous. # authcBasic means Basic Auth Security # To enfore security, comment the line below and uncomment the next one /** = anon #/** = authcBasic 

现在我正在使用这个图像:conker84 / zeppelin。 当我inputadmin和password1用户时,我得到:

 The username and password that you entered don't match. 

我注意到,通过检查铬我得到:

 api/login net::ERR_CONNECTION_REFUSED 

我已经检查了孵化器-Zeppelin / logs#下的日志,没有什么奇怪的,只是服务器启动。

所以这个问题实际上是在VirtualBox中。 我在networking端口转发中设置了错误的端口configuration。 主机和客人都join了8080后,我才能login到Zeppelin。