Created
August 31, 2013 20:50
-
-
Save whiteley/6400552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/server.go b/server.go | |
index 646cb44..33cd4ea 100644 | |
--- a/server.go | |
+++ b/server.go | |
@@ -1247,8 +1247,8 @@ func (srv *Server) ContainerCopy(name string, resource string, out io.Writer) er | |
} | |
func NewServer(flGraphPath string, autoRestart, enableCors bool, dns ListOpts) (*Server, error) { | |
- if runtime.GOARCH != "amd64" { | |
- log.Fatalf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH) | |
+ if runtime.GOARCH != "amd64" && runtime.GOARCH != "386" { | |
+ log.Fatalf("The docker runtime currently only supports amd64 and 386 (not %s). This will change in the future. Aborting.", runtime.GOARCH) | |
} | |
runtime, err := NewRuntime(flGraphPath, autoRestart, dns) | |
if err != nil { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment