diff --git a/dokku b/dokku index d83698e41..d933b112e 100755 --- a/dokku +++ b/dokku @@ -64,7 +64,7 @@ case "$1" in # start the app DOCKER_ARGS=$(: | pluginhook docker-args $APP) id=$(docker run -d -p 5000 -e PORT=5000 $DOCKER_ARGS $IMAGE /bin/bash -c "/start web") - port=$(docker port $id 5000 | sed 's/0.0.0.0://') + port=$(docker port $id 5000 | sed 's/[0-9.]*://') # if we can't post-deploy successfully, kill new container function kill_new {