Skip to content

Commit 00366c9

Browse files
committed
Enable auto port mapping
1 parent 841a295 commit 00366c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ambari-functions

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ kylin-deploy-cluster() {
103103
}
104104

105105
amb-start-first() {
106-
run-command docker run -d $DOCKER_OPTS --name $AMBARI_SERVER_NAME -h $AMBARI_SERVER_NAME.$MYDOMAIN $IMAGE --tag ambari-server=true
106+
run-command docker run -P -d $DOCKER_OPTS --name $AMBARI_SERVER_NAME -h $AMBARI_SERVER_NAME.$MYDOMAIN $IMAGE --tag ambari-server=true
107107
}
108108

109109
amb-copy-to-hdfs() {

0 commit comments

Comments
 (0)