buildkit/cmd/buildkitd/util_unsupported.go

16 lines
293 B
Go
Raw Normal View History

// +build !linux
package main
import (
"github.com/docker/docker/pkg/idtools"
"github.com/pkg/errors"
)
func parseIdentityMapping(str string) (*idtools.IdentityMapping, error) {
if str == "" {
return nil, nil
}
return nil, errors.New("user namespaces are only supported on linux")
}