Skip to content

Instantly share code, notes, and snippets.

@whiteley
Created August 31, 2013 20:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save whiteley/6400552 to your computer and use it in GitHub Desktop.
Save whiteley/6400552 to your computer and use it in GitHub Desktop.
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