diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-04-05 02:33:38 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-05-05 20:14:15 -0400 |
commit | 0b94911add6192c21a17305e5885021506bd41d0 (patch) | |
tree | 1d0592d1e9867d9b89cf887c7d1038fccb583b2b /gnu | |
parent | 9c0244abbd1f56bd49b2dbbd274678c7d8d92a22 (diff) | |
download | patches-0b94911add6192c21a17305e5885021506bd41d0.tar patches-0b94911add6192c21a17305e5885021506bd41d0.tar.gz |
gnu: Add docker-libnetwork-cmd-proxy.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/docker.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 25395fecd9..92eafa0439 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages golang) #:use-module (gnu packages linux) + #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-web) @@ -265,6 +266,28 @@ container network model that provides a consistent programming interface and the required network abstractions for applications.") (license license:asl2.0)))) +(define-public docker-libnetwork-cmd-proxy + (package + (inherit docker-libnetwork) + (name "docker-libnetwork-cmd-proxy") + (arguments + `(#:import-path "github.com/docker/libnetwork/cmd/proxy" + #:unpack-path "github.com/docker/libnetwork" + #:install-source? #f)) + (native-inputs + `(("go-sctp" ,go-sctp) + ;; For tests. + ("logrus" ,go-github-com-sirupsen-logrus) + ("go-netlink" ,go-netlink) + ("go-netns" ,go-netns) + ("go-golang-org-x-crypto-ssh-terminal" + ,go-golang-org-x-crypto-ssh-terminal) + ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + (synopsis "Docker user-space proxy") + (description "A proxy running in the user space. It is used by the +built-in registry server of Docker.") + (license license:asl2.0))) + ;; TODO: Patch out modprobes for ip_vs, nf_conntrack, ;; brige, nf_conntrack_netlink, aufs. (define-public docker |