mirror of
https://github.com/rclone/rclone.git
synced 2025-08-26 21:08:18 +02:00
cmd/serve: add serve docker command (#5415)
Fixes #4750 Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
This commit is contained in:
committed by
Ivan Andreev
parent
221dfc3882
commit
daf449b5f2
12
cmd/serve/docker/unix_unsupported.go
Normal file
12
cmd/serve/docker/unix_unsupported.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build !linux,!freebsd
|
||||
|
||||
package docker
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
func newUnixListener(path string, gid int) (net.Listener, string, error) {
|
||||
return nil, "", errors.New("unix sockets require Linux or FreeBSD")
|
||||
}
|
Reference in New Issue
Block a user