mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9bb69f9726
When a container is started with `--net=host` with a particular name and it is subsequently destroyed, then all subsequent creations of the container with the same name will fail. This is because in `--net=host` the namespace is shared i.e the host namespace so trying to destroy the host namespace by calling `LeaveAll` will fail and the endpoint is left with the dangling state. So the fix is, for this mode, do not attempt to destroy the namespace but just cleanup the endpoint state and return. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
45 lines
2.1 KiB
Bash
Executable file
45 lines
2.1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$BASH_SOURCE")/.."
|
|
rm -rf vendor/
|
|
source 'hack/.vendor-helpers.sh'
|
|
|
|
# the following lines are in sorted order, FYI
|
|
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among multiple deps
|
|
clone git github.com/docker/libtrust 230dfd18c232
|
|
clone git github.com/go-check/check 64131543e7896d5bcc6bd5a76287eb75ea96c673
|
|
clone git github.com/gorilla/context 14f550f51a
|
|
clone git github.com/gorilla/mux e444e69cbd
|
|
clone git github.com/kr/pty 5cf931ef8f
|
|
clone git github.com/mistifyio/go-zfs v2.1.1
|
|
clone git github.com/tchap/go-patricia v2.1.0
|
|
clone git golang.org/x/net 3cffabab72adf04f8e3b01c5baf775361837b5fe https://github.com/golang/net.git
|
|
clone hg code.google.com/p/gosqlite 74691fb6f837
|
|
|
|
#get libnetwork packages
|
|
clone git github.com/docker/libnetwork 82a1f5634904b57e619fd715ded6903727e00143
|
|
clone git github.com/armon/go-metrics eb0af217e5e9747e41dd5303755356b62d28e3ec
|
|
clone git github.com/hashicorp/go-msgpack 71c2886f5a673a35f909803f38ece5810165097b
|
|
clone git github.com/hashicorp/memberlist 9a1e242e454d2443df330bdd51a436d5a9058fc4
|
|
clone git github.com/hashicorp/serf 7151adcef72687bf95f451a2e0ba15cb19412bf2
|
|
clone git github.com/docker/libkv e8cde779d58273d240c1eff065352a6cd67027dd
|
|
clone git github.com/vishvananda/netns 5478c060110032f972e86a1f844fdb9a2f008f2c
|
|
clone git github.com/vishvananda/netlink 8eb64238879fed52fd51c5b30ad20b928fb4c36c
|
|
clone git github.com/BurntSushi/toml f706d00e3de6abe700c994cdd545a1a4915af060
|
|
clone git github.com/samuel/go-zookeeper d0e0d8e11f318e000a8cc434616d69e329edc374
|
|
clone git github.com/coreos/go-etcd v2.0.0
|
|
clone git github.com/hashicorp/consul v0.5.2
|
|
|
|
# get distribution packages
|
|
clone git github.com/docker/distribution b9eeb328080d367dbde850ec6e94f1e4ac2b5efe
|
|
|
|
clone git github.com/docker/libcontainer v2.2.1
|
|
# libcontainer deps (see src/github.com/docker/libcontainer/update-vendor.sh)
|
|
clone git github.com/coreos/go-systemd v2
|
|
clone git github.com/godbus/dbus v2
|
|
clone git github.com/syndtr/gocapability 66ef2aa7a23ba682594e2b6f74cf40c0692b49fb
|
|
clone git github.com/golang/protobuf 655cdfa588ea
|
|
clone git github.com/Graylog2/go-gelf 6c62a85f1d47a67f2a5144c0e745b325889a8120
|
|
|
|
clean
|