Victor Costan
e32b3211ae
Swarm filters support in image building.
...
When building an image (POST /build), swarm will extract filters from
buildargs. This is similar to how container creation (POST
/containers/create) extracts filters from environment variables.
Signed-off-by: Victor Costan <costan@gmail.com>
2015-10-23 14:24:42 -04:00
Xian Chaobo
c947d5be69
add support some run options
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-10-22 09:14:23 +08:00
Victor Vieux
6643894063
rename `POST /volumes` to `POST /volumes/create`
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-10-17 23:50:50 -07:00
Daniel Nephin
f69f0e41d4
Add github.com/docker/docker/pkg/parsers/
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-10-15 12:30:07 -04:00
Victor Vieux
d000d70238
update libnetwork
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-10-13 17:06:21 -07:00
Alexandre Beslic
1e30ce215f
Merge pull request #1262 from vieux/libnetwork
...
add 'docker network' support
2015-10-13 11:09:27 -07:00
Daniel Hiltgen
3661b6e63b
Add TLS support for libkv
...
This adds TLS support into the KV store for swarm. The manage, join,
and list commands all have a new CLI argument, matching the docker engine
discovery backend. This required adding the tlsconfig utility
package from docker engine.
Here's an example showing re-use of the cluster certs for the KV store:
swarm manage --tlsverify \
--tlscacert /etc/docker/ssl/ca.pem
--tlscert /etc/docker/ssl/cert.pem
--tlskey /etc/docker/ssl/key.pem
--discovery-opt kv.cacertfile=/etc/docker/ssl/ca.pem
--discovery-opt kv.certfile=/etc/docker/ssl/cert.pem
--discovery-opt kv.keyfile=/etc/docker/ssl/key.pem
--advertise 192.168.122.47:3376
etcd://192.168.122.47:2379
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
2015-10-12 13:33:08 -07:00
Victor Vieux
e634df03a7
add 'docker network ls' support
...
add 'docker network inspect' suport
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-10-08 22:35:07 -07:00
Alexandre Beslic
1c0d40365b
Update libkv godeps with migration to the new etcd client
...
As 'go-etcd' was deprecated not long ago, this commit vendors
the latest changes to 'libkv', including support for the new
'coreos/etcd/client'.
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-10-05 08:59:32 -07:00
Daniel Nephin
5afc1e4924
Update samalba/dockerclient dependency.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-10-01 15:49:29 -04:00
Alexandre Beslic
5f1b5e5e3f
fix etcd lock ttl refresh value in seconds
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-30 09:11:01 -07:00
Alexandre Beslic
e17a89b384
update libkv, fix regression with zookeeper missing entries
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-25 07:57:43 -07:00
Victor Vieux
8ac69722b1
Merge pull request #1228 from abronan/leader_election_lock_ttl
...
Add the support for specifying Leader Election TTL
2015-09-24 11:46:50 -07:00
Alexandre Beslic
ab8d1b489c
add support for specifying the leader election lock ttl
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-23 04:06:35 -07:00
Victor Vieux
79d1ee4861
add volume create
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-09-18 03:23:22 -07:00
Victor Vieux
440a379860
docker volume rm
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-09-18 03:22:57 -07:00
Victor Vieux
02bd0e9b76
Merge pull request #1202 from abronan/update_libkv
...
Update libkv Godeps
2015-09-17 22:58:22 -07:00
Alexandre Beslic
1cb265d0b6
update libkv Godeps
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-17 07:52:00 -07:00
Victor Vieux
77c96908f0
add support for docker volume ls & inspect
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-09-05 07:56:22 -07:00
Alexandre Beslic
a7303ecc5e
Fix panic on various calls when assigning Engine client to nil
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-02 09:41:51 -07:00
Xian Chaobo
f5ac0c87e3
update godeps
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-08-19 22:02:59 -04:00
Victor Vieux
cc7b9b2176
add container name in mesos task label
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-08-14 13:48:49 -07:00
Chanwit Kaewkasi
aae6fba936
add naturalsort dependency
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-08-06 10:45:57 -04:00
Alexandre Beslic
40bad153e7
update libkv godeps, fixes consul multiple IPs silently discarded
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-08-04 10:53:09 -07:00
Andrea Luzzardi
add72eb06a
Merge pull request #1078 from abronan/leader_election_retry
...
Leadership: Fault tolerant Leader Election mechanism
2015-08-04 11:52:56 -07:00
Xian Chaobo
a3cf5b9e9c
improve build
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-08-04 02:45:06 -04:00
Alexandre Beslic
c7513506be
Fault tolerant Leader Election process, fixes leader information on docker info, fixes intermittent error on Consul session lock
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-07-31 10:06:47 -07:00
Xian Chaobo
acdb67bd63
godeps update
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-07-08 18:03:18 +08:00
Xian Chaobo
402053fa00
fix #927 check pull status code
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-07-07 17:41:12 +08:00
Victor Vieux
d7c11fab16
update mesos-go
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-07-07 08:35:47 -07:00
Victor Vieux
0268b1ce89
/info now returns SystemTime
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-07-06 17:56:35 -07:00
Alexandre Beslic
814a8168ee
update libkv godeps, fix zookeeper discovery list
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-07-04 18:37:13 -07:00
Shijiang Wei
8bfac6bd71
update deps
...
Fixes https://github.com/docker/swarm/issues/1006
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
2015-07-02 11:11:29 +08:00
Andrea Luzzardi
77849bd45a
Merge pull request #1010 from vieux/remove_2_warnings
...
remove 2 warnings in docker info
2015-06-30 16:26:24 -07:00
Victor Vieux
126eade4b9
remove 2 warnings in docker info
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-06-30 15:20:44 -07:00
Alexandre Beslic
961e46d068
update Godeps: libkv
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-06-30 11:55:43 -07:00
Alexandre Beslic
c70f6f8afe
update godeps to include libkv
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-06-29 16:19:21 -07:00
Andrea Luzzardi
1e548c4a80
update dockerclient
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-06-12 18:51:05 -07:00
Andrea Luzzardi
4265d07669
update samalba/dockerclient
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-06-12 18:51:05 -07:00
Andrea Luzzardi
82fc920e90
Engine: fix panic in disconnect with events.
...
Replaces #937
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-06-12 18:51:05 -07:00
Victor Vieux
1afc1be2d1
support only 1.6.0+
...
update test/regression/run.sh
uddate doc
update tests
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-06-12 13:27:15 -07:00
Xian Chaobo
2389760e95
refresh config fields
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-06-11 14:28:21 -07:00
Andrea Luzzardi
a5b2e57496
Merge pull request #867 from abronan/fix_etcd_sync
...
Fix etcd SyncCluster and Integration tests
2015-06-05 15:56:37 -07:00
Alexandre Beslic
3d0b4ecdc0
update go-etcd Godep with SyncCluster fix
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-06-05 15:46:23 -07:00
Victor Vieux
79b128172d
update dockerclient to get new fields
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-06-02 14:36:24 -07:00
Alexandre Beslic
c0fe0bc17d
remove sleep in integration after etcd store startup, periodic SyncCluster in etcd and include fix to SyncCluster in go-etcd lib
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-05-28 15:54:29 -07:00
Alexandre Beslic
a974423f05
Update Godep: go-etcd
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-05-27 13:58:06 -07:00
Andrea Luzzardi
0fb33f61d5
update testify
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-26 19:01:09 -07:00
Isabel Jimenez
376c4ff458
Godeps for Mesos
...
Signed-off-by: Isabel Jimenez <contact.isabeljimenez@gmail.com>
2015-05-21 15:39:25 -04:00
Alexandre Beslic
4408a9cc8c
Add Ephemeral for Consul, Zookeeper and Etcd (Etcd abd Consul are using TTLs in the background)
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-05-19 10:25:31 -07:00