Skip to content

Commit

Permalink
fixed default Docker port to match post 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Sep 24, 2014
1 parent 177d9ca commit cc87e7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions plugin/pipeline/pipeline.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package pipeline
6 changes: 3 additions & 3 deletions shared/build/docker/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import (
"os"
"strings"

"github.com/dotcloud/docker/pkg/term"
"github.com/dotcloud/docker/pkg/stdcopy"
"github.com/dotcloud/docker/pkg/term"
"github.com/dotcloud/docker/utils"
)

const (
APIVERSION = 1.9
DEFAULTHTTPPORT = 4243
DEFAULTHTTPPORT = 2375
DEFAULTUNIXSOCKET = "/var/run/docker.sock"
DEFAULTPROTOCOL = "unix"
DEFAULTTAG = "latest"
Expand Down Expand Up @@ -104,7 +104,7 @@ func (c *Client) setHost(defaultUnixSocket string) {
// we'll try to connect to the default tcp address
if _, err := os.Stat(defaultUnixSocket); err != nil {
c.proto = "tcp"
c.addr = "0.0.0.0:4243"
c.addr = "0.0.0.0:2375"
}
}
}
Expand Down

0 comments on commit cc87e7a

Please sign in to comment.