$GOPATH can't be trusted not to have colons in it, and $GOROOT cannot be trusted
to be user writeable. Therefore we'll just rely on the conventional nature of
go packages
---> Making bundle: binary (in bundles/17.05.0-ce/binary)
Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
# github.com/docker/docker/container
.gopath/src/github.com/docker/docker/container/container_unix.go:257: (*Container).SecretMount redeclared in this block
previous declaration at .gopath/src/github.com/docker/docker/container/container_notlinux.go:16
.gopath/src/github.com/docker/docker/container/container_unix.go:270: (*Container).UnmountSecrets redeclared in this block
previous declaration at .gopath/src/github.com/docker/docker/container/container_notlinux.go
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
---> Making bundle: binary (in bundles/17.05.0-ce/binary)
Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
# github.com/docker/docker/plugin
.gopath/src/github.com/docker/docker/plugin/manager.go:37: pm.restore undefined (type *Manager has no field or method restore)
.gopath/src/github.com/docker/docker/plugin/manager.go:157: pm.enable undefined (type *Manager has no field or method enable, but does have Enable)
.gopath/src/github.com/docker/docker/plugin/manager.go:238: pm.enable undefined (type *Manager has no field or method enable, but does have Enable)
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
This includes some changes where the libcontainer code is simply running the
same stubs that it would have previously been running on Solaris
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
This /might/ cause some issues further down the line, we'll see. But it appears
that some stat_t data structures are differently sized on Linux vs. FreeBSD
---> Making bundle: binary (in bundles/17.05.0-ce/binary)
Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
# github.com/docker/docker/vendor/github.com/tonistiigi/fifo
.gopath/src/github.com/docker/docker/vendor/github.com/tonistiigi/fifo/handle_nolinux.go:26: cannot use stat.Ino (type uint32) as type uint64 in field value
.gopath/src/github.com/docker/docker/vendor/github.com/tonistiigi/fifo/handle_nolinux.go:37: invalid operation: stat.Ino != h.ino (mismatched types uint32 and uint64)
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
---> Making bundle: binary (in bundles/17.05.0-ce/binary)
Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
# github.com/docker/docker/libcontainerd
.gopath/src/github.com/docker/docker/libcontainerd/container.go:11: undefined: process
.gopath/src/github.com/docker/docker/libcontainerd/container.go:12: undefined: process
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
---> Making bundle: binary (in bundles/17.05.0-ce/binary)
Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
# github.com/docker/docker/libcontainerd
.gopath/src/github.com/docker/docker/libcontainerd/client.go:13: undefined: container
.gopath/src/github.com/docker/docker/libcontainerd/types.go:32: undefined: StateInfo
# github.com/docker/docker/vendor/github.com/godbus/dbus
.gopath/src/github.com/docker/docker/vendor/github.com/godbus/dbus/transport_unix.go:51: cannot use t (type *unixTransport) as type transport in return argument:
*unixTransport does not implement transport (missing SendNullByte method)
.gopath/src/github.com/docker/docker/vendor/github.com/godbus/dbus/transport_unix.go:57: cannot use t (type *unixTransport) as type transport in return argument:
*unixTransport does not implement transport (missing SendNullByte method)
Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.
This ensures that resources are unmounted before attempting removal.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit db3576f8a0)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This fixes issues where the underlying filesystem may be disconnected and
attempting to unmount may cause a hang.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit acbfe6bc56)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
The previous implementation would error out with "Unexpected EOF" which
was caused by an underlying "array index out-of-bounds" error.
The root cause was deleting items from the same array that was being
iterated over. The iteration was unaware that the array size had
changed, resulting in an error.
The new implementation builds a new array instead of mutating a copy of
the old one.
Fixes: #32744
Signed-off-by: Dave Tucker <dt@docker.com>
Revendors swarmkit with a change that fixes a rare segfault that can
occur when following logs on a brand new service with bad bind mount
options.
Fixesdocker/swarmkit#2147
Signed-off-by: Drew Erny <drew.erny@docker.com>
The source of a tag operation is allowed to be a 64-character hex
string. This means it should use ParseAnyReference for validation
instead of ParseNormalizedNamed.
This fixes a regression that happened in 17.04.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 4a0704cdbd)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.
Closes#32588
Signed-off-by: Corey Farrell <git@cfware.com>
(cherry picked from commit eede2056fe)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Implements the following new CLI features:
- service logs is no longer experimental
- service logs also accepts task IDs
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 47615c9b9b)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
In some cases, if a user specifies `-f` when disabling a plugin mounts
can still exist on the plugin rootfs.
This can cause problems during upgrade where the rootfs is removed and
may cause data loss.
To resolve this, ensure the rootfs is unmounted
before performing an upgrade.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 83f44d232d)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>