Skip to content

Instantly share code, notes, and snippets.

@saidimu
Forked from whiteley/server.go.diff
Last active August 29, 2015 13:56
Show Gist options
  • Save saidimu/9165970 to your computer and use it in GitHub Desktop.
Save saidimu/9165970 to your computer and use it in GitHub Desktop.
diff --git a/engine/engine.go b/engine/engine.go
index ec880b9..0f4ffe9 100644
--- a/engine/engine.go
+++ b/engine/engine.go
@@ -60,8 +60,8 @@ func (eng *Engine) Register(name string, handler Handler) error {
// behavior.
func New(root string) (*Engine, error) {
// Check for unsupported architectures
- if runtime.GOARCH != "amd64" {
- return nil, fmt.Errorf("The docker runtime currently only supports amd64 (not %s). T
+ if runtime.GOARCH != "amd64" && runtime.GOARCH != "386" {
+ return nil, fmt.Errorf("The docker runtime currently only supports amd64 and 386 (no
}
// Check for unsupported kernel versions
// FIXME: it would be cleaner to not test for specific versions, but rather
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment