SHA256
1
0
forked from pool/docker
Commit Graph

263 Commits

Author SHA256 Message Date
Aleksa Sarai
4bd579423a Accepting request 612799 from home:cyphar:containers:docker_bsc1065609
- Update secrets patch to not log incorrect warnings when attempting to inject
  non-existent host files. bsc#1065609
  * secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/612799
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=247
2018-05-30 05:44:31 +00:00
Aleksa Sarai
832a61093a Accepting request 605674 from home:cyphar:containers:fixup
update changelog

OBS-URL: https://build.opensuse.org/request/show/605674
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=245
2018-05-09 08:43:43 +00:00
Valentin Rothberg
7e7d9a111a Accepting request 598526 from home:cyphar:containers:docker-apparmor
- Fix up the AppArmor 'docker kill' patch to work on older AppArmor versions.
  boo#1089732
  * bsc1073877-0001-apparmor-allow-receiving-of-signals-from-docker-kill.patch

OBS-URL: https://build.opensuse.org/request/show/598526
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=243
2018-04-19 12:32:33 +00:00
Aleksa Sarai
c9962818ba Accepting request 595152 from home:cyphar:containers:apparmor
- Add patch to handle AppArmor changes that make 'docker kill' stop working.
  bsc#1073877
  + bsc1073877-0001-apparmor-allow-receiving-of-signals-from-docker-kill.patch

OBS-URL: https://build.opensuse.org/request/show/595152
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=241
2018-04-12 14:45:14 +00:00
Aleksa Sarai
36f6ac97aa Accepting request 594073 from home:cyphar:containers:docker_ppc_fixup
- Fix manpage generation breaking ppc64le builds due to a missing
  -buildemode=pie.

OBS-URL: https://build.opensuse.org/request/show/594073
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=240
2018-04-10 09:09:40 +00:00
Valentin Rothberg
b0a1746a0a Accepting request 593541 from home:vrothberg:branches:Virtualization:containers
- Compile and install all manpages.
  bsc#1085117

OBS-URL: https://build.opensuse.org/request/show/593541
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=238
2018-04-05 05:48:40 +00:00
Aleksa Sarai
2c2c83d31e Accepting request 591549 from home:cyphar:containers_docker-init
- Add requirement for catatonit, which provides a docker-init implementation.
  fate#324652

OBS-URL: https://build.opensuse.org/request/show/591549
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=237
2018-03-28 09:48:12 +00:00
Aleksa Sarai
cdaf1b8273 Accepting request 576039 from home:cyphar:containers:switch_patch_source
- Update patches to be sourced from https://github.com/suse/docker-ce (which
  are based on the upstream docker/docker-ce repo). The reason for this change
  (though it is functionally identical to the old patches) is so that public
  patch maintenance is much simpler.
  * bsc1021227-0001-pkg-devmapper-dynamically-load-dm_task_deferred_remo.patch
  * bsc1055676-0001-daemon-oci-obey-CL_UNPRIVILEGED-for-user-namespaced-.patch
  * secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/576039
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=235
2018-02-13 11:34:28 +00:00
Jordi Massaguer
6643e811f1 Accepting request 567735 from home:cyphar:containers:docker_obsoletes_image-migrator
- Add Obsoletes: docker-image-migrator, as the tool is no longer needed and
  we've pretty much removed it from everywhere except the containers module.
  bsc#1069758

OBS-URL: https://build.opensuse.org/request/show/567735
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=233
2018-01-19 15:22:50 +00:00
Aleksa Sarai
450c4fe91a Accepting request 567583 from home:vrothberg:branches:Virtualization:containers
- Remove requirement on bridge-utils, which has been replaced by libnetwork in
  Docker.
  bsc#1072798

OBS-URL: https://build.opensuse.org/request/show/567583
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=232
2018-01-19 08:07:52 +00:00
Aleksa Sarai
6e5b54a6a2 Accepting request 563287 from home:cyphar:containers_module_update
Update changelogs to mention bsc#1069758 properly.

OBS-URL: https://build.opensuse.org/request/show/563287
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=230
2018-01-10 12:24:47 +00:00
Aleksa Sarai
9c7edd7eef - Update to Docker v17.09.1_ce. Upstream changelog:
https://github.com/docker/docker-ce/releases/tag/v17.09.1-ce
- Removed patches (merged upstream):
  - bsc1045628-0001-devicemapper-remove-container-rootfs-mountPath-after.patch
  - bsc1066210-0001-vendor-update-to-github.com-vbatts-tar-split-v0.10.2.patch
  - bsc1066801-0001-oci-add-proc-scsi-to-masked-paths.patch
- Update to Docker v17.09.0_ce. Upstream changelog:
  https://github.com/docker/docker-ce/releases/tag/v17.09.0-ce
- Rebased patches:
  * bsc1021227-0001-pkg-devmapper-dynamically-load-dm_task_deferred_remo.patch
  * bsc1045628-0001-devicemapper-remove-container-rootfs-mountPath-after.patch
  * bsc1055676-0001-daemon-oci-obey-CL_UNPRIVILEGED-for-user-namespaced-.patch
  * secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch
- Removed patches (merged upstream):
  - bsc1064781-0001-Allow-to-override-build-date.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=228
2017-12-19 03:42:51 +00:00
Aleksa Sarai
6e5904b7ca Accepting request 558082 from home:cyphar:containers:docker_bsc1021227
- Add a patch to dynamically probe whether libdevmapper supports
  dm_task_deferred_remove. This is necessary because we build the containers
  module on a SLE12 base, but later SLE versions have libdevmapper support.
  This should not affect openSUSE, as all openSUSE versions have a new enough
  libdevmapper. Backport of https://github.com/moby/moby/pull/35518.
  bsc#1021227 bsc#1029320 bsc#1058173
  + bsc1021227-0001-pkg-devmapper-dynamically-load-dm_task_deferred_remo.patch

OBS-URL: https://build.opensuse.org/request/show/558082
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=227
2017-12-18 12:28:20 +00:00
Aleksa Sarai
a953cf90b5 Accepting request 548172 from home:cyphar:containers:docker_test_fixup
- Fix up the ordering of tests in docker.spec. This is to keep things easier to
  backport into the SLE package.

OBS-URL: https://build.opensuse.org/request/show/548172
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=225
2017-12-04 16:40:53 +00:00
Jordi Massaguer
8fc843bebc Accepting request 546676 from home:cyphar:containers:docker_bsc1057743
- Include secrets fix to handle "old" containers that have orphaned secret
  data. It's not clear why Docker caches these secrets, but fix the problem by
  trashing the references manually. bsc#1057743
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/546676
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=223
2017-11-30 11:49:12 +00:00
Aleksa Sarai
08b07fd7b4 Accepting request 545273 from home:cyphar:containers:docker_fixup
Fixup according to comments in https://build.opensuse.org/request/show/545160.

OBS-URL: https://build.opensuse.org/request/show/545273
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=221
2017-11-24 16:47:10 +00:00
Aleksa Sarai
c7eaf3a256 Accepting request 545157 from home:cyphar:containers:docker_bsc
Add link to https://bugzilla.suse.com/show_bug.cgi?id=1069758 in the changelog.

OBS-URL: https://build.opensuse.org/request/show/545157
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=220
2017-11-24 12:32:16 +00:00
Aleksa Sarai
a5b4f28061 Accepting request 545109 from home:cyphar:containers:docker_drop_migrator
Rebase. I've also dropped the docker-image-migrator removal (it's depending on
an openSUSE:Factory change).

- Remove migration code for the v1.9.x -> v1.10.x migration. This has been
  around for a while, and we no longer support migrating from such an old
  version "nicely". Docker still has migration code that will run on
  first-boot, we are merely removing all of the "nice" warnings which tell
  users how to avoid issues during an upgrade that ocurred more than a year
  ago.

OBS-URL: https://build.opensuse.org/request/show/545109
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=219
2017-11-24 10:32:23 +00:00
Aleksa Sarai
eb28b07ea5 Accepting request 544765 from home:RBrownSUSE:branches:Virtualization:containers
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544765
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=218
2017-11-24 10:06:46 +00:00
Aleksa Sarai
6a6c6aa170 Accepting request 540191 from home:cyphar:containers:docker_forwardport
- Fix bsc#1059011
  The systemd service helper script used a timeout of 60 seconds to
  start the daemon, which is insufficient in cases where the daemon
  takes longer to start. Instead, set the service type from 'simple' to
  'notify' and remove the now superfluous helper script.
- fix bsc#1057743: Add a Requires: fix_bsc_1057743 which is provided by the
  newer version of docker-libnetwork. This is necessary because of a versioning
  bug we found in bsc#1057743.

OBS-URL: https://build.opensuse.org/request/show/540191
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=215
2017-11-09 12:24:37 +00:00
Aleksa Sarai
7ee12cd06b osc copypac from project:Virtualization:containers package:docker revision:212
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=214
2017-11-09 11:09:35 +00:00
Aleksa Sarai
9a0bb40a46 - Fix bsc#1059011
The systemd service helper script used a timeout of 60 seconds to
  start the daemon, which is insufficient in cases where the daemon
  takes longer to start. Instead, set the service type from 'simple' to
  'notify' and remove the now superfluous helper script.
- fix bsc#1057743: Add a Requires: fix_bsc_1057743 which is provided by the
  newer version of docker-libnetwork. This is necessary because of a versioning
  bug we found in bsc#1057743.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=213
2017-11-09 11:08:27 +00:00
Aleksa Sarai
ca68434d79 Accepting request 539622 from home:cyphar:containers:docker_CVE-2017-14992
- Add a backport of https://github.com/moby/moby/pull/35424, which fixes a
  security issue where a maliciously crafted image could be used to crash a
  Docker daemon. bsc#1066210 CVE-2017-14992
  + bsc1066210-0001-vendor-update-to-github.com-vbatts-tar-split-v0.10.2.patch

OBS-URL: https://build.opensuse.org/request/show/539622
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=212
2017-11-07 17:23:31 +00:00
Aleksa Sarai
9102c78185 Accepting request 539455 from home:cyphar:containers:docker_CVE-2017-16539
- Add a backport of https://github.com/moby/moby/pull/35399, which fixes a
  security issue where a Docker container (with a disabled AppArmor profile)
  could write to /proc/scsi/... and subsequently DoS the host. bsc#1066801
  CVE-2017-16539
  + bsc1066801-0001-oci-add-proc-scsi-to-masked-paths.patch

OBS-URL: https://build.opensuse.org/request/show/539455
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=210
2017-11-07 09:33:12 +00:00
Aleksa Sarai
91fa19e925 Accepting request 536268 from home:cyphar:containers:boo1064781_docker_version
- Correctly set `docker version` information, including the version, git
  commit, and SOURCE_DATE_EPOCH (requires a backport). This should
  *effectively* make Docker builds reproducible, with minimal cost. boo#1064781
  + bsc1064781-0001-Allow-to-override-build-date.patch

OBS-URL: https://build.opensuse.org/request/show/536268
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=208
2017-10-24 10:02:17 +00:00
Aleksa Sarai
2b837c69aa Accepting request 535073 from home:cyphar:containers:docker-ce_v17.07
Re-enable tests and correct changelog (again).

OBS-URL: https://build.opensuse.org/request/show/535073
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=206
2017-10-19 02:18:11 +00:00
Aleksa Sarai
5bc18f1a1b Accepting request 534446 from home:vrothberg:branches:Virtualization:containers
The docker-ce 17.07 update. Depends on:
- https://build.opensuse.org/request/show/534442
- https://build.opensuse.org/request/show/534444
- https://build.opensuse.org/request/show/534445

OBS-URL: https://build.opensuse.org/request/show/534446
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=204
2017-10-18 04:27:06 +00:00
Jordi Massaguer
e69ff9a2ac Accepting request 526390 from home:jordimassaguerpla:branch:V:c:fix_update_message_docker
- fix /var/adm/update-message/docker file name to be
  /var/adm/update-message/docker-%{version}-%{release}

OBS-URL: https://build.opensuse.org/request/show/526390
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=202
2017-09-18 10:05:54 +00:00
Valentin Rothberg
00112aab82 Accepting request 521690 from home:cyphar:containers:dm_bsc1045628
- devicemapper: add patch to make the dm storage driver remove a container's
  rootfs mountpoint before attempting to do libdm operations on it. This helps
  avoid complications when live mounts will leak into containers. Backport of
  https://github.com/moby/moby/pull/34573. bsc#1045628
  + bsc1045628-0001-devicemapper-remove-container-rootfs-mountPath-after.patch

OBS-URL: https://build.opensuse.org/request/show/521690
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=200
2017-09-07 07:53:28 +00:00
Jordi Massaguer
64b99bd0ee Accepting request 519818 from home:cyphar:containers:bsc1055676_userns_mount
- Fix a regression in our SUSE secrets patches, which caused the copied files
  to not carry the correct {uid,gid} mapping when using user namespaces. This
  would not cause any bugs (SUSEConnect does the right thing anyway) but it's
  possible some programs would not treat the files correctly. This is
  tangentially related to bsc#1055676.
  * secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/519818
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=199
2017-09-04 13:03:50 +00:00
Aleksa Sarai
ca3f73206d - Use -buildmode=pie for tests and binary build. bsc#1048046 bsc#1051429
This also includes some various improvements to the packaging of runc,
containerd and docker-runc.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=197
2017-08-11 12:09:59 +00:00
Aleksa Sarai
18b17a0bdb Accepting request 512333 from home:jordimassaguerpla:branch:Vc:fix_seccomp_and_dm
- enable deferred removal for sle12sp2 and newer (and openSUSE
  equivalent. fix bsc#1021227

- enable libseccomp on sle12sp2 and newer, 42.2 and newer
  fix bsc#1028638 - docker: conditional filtering not supported on
  libseccomp for sle12

OBS-URL: https://build.opensuse.org/request/show/512333
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=195
2017-07-27 16:11:06 +00:00
Jordi Massaguer
eee720d9e6 Accepting request 509416 from home:jordimassaguerpla:branch:Vc:docker:bsc_1046024
- add SuSEfirewall2.service to the After clause in docker.service
  in order to fix bsc#1046024

OBS-URL: https://build.opensuse.org/request/show/509416
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=194
2017-07-11 11:32:02 +00:00
Thomas Hipp
5283b611b2 Accepting request 508834 from home:thipp:branches:Virtualization:containers
- fix path to docker-runc in systemd service file 
- change dependency to docker-runc

OBS-URL: https://build.opensuse.org/request/show/508834
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=193
2017-07-10 11:39:04 +00:00
Aleksa Sarai
6d17ff854b Accepting request 504626 from home:jordimassaguerpla:branch:V:c:fix_bsc_1029630:docker
- Fix bsc#1029630: docker does not wait for lvm on system startup
I added "lvm2-monitor.service" as an "After dependency" of the docker systemd
unit.

OBS-URL: https://build.opensuse.org/request/show/504626
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=191
2017-06-19 11:50:14 +00:00
Aleksa Sarai
d3edfac459 Accepting request 499665 from home:jordimassaguerpla:branch:V:c:bsc_722377
- Fix bsc#1032287: missing docker systemd configuration

OBS-URL: https://build.opensuse.org/request/show/499665
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=189
2017-05-30 11:36:16 +00:00
Jordi Massaguer
9fce3cd938 Accepting request 498958 from home:cyphar:containers
- Update SUSE secrets patch to correctly handle restarting of containers.
  + secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  + secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/498958
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=188
2017-05-29 12:37:19 +00:00
Jordi Massaguer
a61156fa80 Accepting request 496617 from home:scarabeus_iv:branches:Virtualization:containers
- Fix bsc#1038476 warning about non-executable docker
  * Simply verify we have binary prior using it, might happen if
    someone had docker installed and then did remove it and install
    from scratch again

OBS-URL: https://build.opensuse.org/request/show/496617
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=187
2017-05-25 08:24:46 +00:00
Miquel Sabate Sola
ba2f6637f8 Accepting request 495639 from home:cyphar:containers
- Fix bsc#1037607 which was causing read-only issues on Kubic, this is a
  backport of https://github.com/moby/moby/pull/33250.
  + bsc1037607-0001-apparmor-make-pkg-aaparser-work-on-read-only-root.patch

OBS-URL: https://build.opensuse.org/request/show/495639
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=185
2017-05-17 15:18:13 +00:00
Miquel Sabate Sola
e7663235ed Accepting request 494283 from home:cyphar:containers
- Add a partial fix for boo#1038493.
- Fixed bsc#1037436 where execids were being leaked due to bad error handling.
  This is a backport of https://github.com/docker/cli/pull/52.
   + bsc1037436-0001-client-check-tty-before-creating-exec-job.patch

OBS-URL: https://build.opensuse.org/request/show/494283
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=184
2017-05-10 14:04:27 +00:00
Jordi Massaguer
1e1a89ae18 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=183 2017-05-04 19:02:51 +00:00
Jordi Massaguer
5cc47a1efe Accepting request 492292 from home:flavio_castelli:branches:Virtualization:containers
- Update golang build requirements to use golang(API) symbol: this is
  needed to solve a conflict between multiple versions of Go being available

OBS-URL: https://build.opensuse.org/request/show/492292
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=182
2017-05-02 15:36:24 +00:00
Jordi Massaguer
da53caf134 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=181 2017-04-20 10:54:05 +00:00
Jordi Massaguer
fed8ecda73 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=180 2017-04-20 10:25:37 +00:00
Jordi Massaguer
5fbd718e69 Accepting request 487501 from home:cyphar:containers
- Enable Delegate=yes, since systemd will safely ignore lvalues it doesn't
  understand.

OBS-URL: https://build.opensuse.org/request/show/487501
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=178
2017-04-12 08:37:11 +00:00
Jordi Massaguer
fa6eaf989a Accepting request 487315 from home:cyphar:containers
- Update SUSE secrets patch to handle boo#1030702.
  * secrets-0001-daemon-allow-directory-creation-in-run-secrets.patch
  * secrets-0002-SUSE-implement-SUSE-container-secrets.patch

OBS-URL: https://build.opensuse.org/request/show/487315
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=177
2017-04-11 12:13:39 +00:00
Jordi Massaguer
c9c04a0b92 Accepting request 487252 from home:m_meister:branches:Virtualization:containers
https://bugzilla.suse.com/show_bug.cgi?id=1032644

OBS-URL: https://build.opensuse.org/request/show/487252
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=176
2017-04-11 09:17:58 +00:00
Aleksa Sarai
5038fcde2b Accepting request 484060 from home:jordimassaguerpla:branch:V:c:docker:fix_seccomp
- Disable libseccomp for leap 42.1, sle12sp1 and sle12, because
  docker needs a higher version. Otherwise, we get the error
    "conditional filtering requires libseccomp version >= 2.2.1
  (bsc#1028639 and bsc#1028638)

OBS-URL: https://build.opensuse.org/request/show/484060
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=175
2017-03-31 11:32:13 +00:00
Jordi Massaguer
757ddedc74 Accepting request 480819 from home:cyphar:containers
- Add a backport of fix to AppArmor lazy loading docker-exec case.
  https://github.com/docker/docker/pull/31773
  + pr31773-daemon-also-ensureDefaultApparmorProfile-in-exec-pat.patch

OBS-URL: https://build.opensuse.org/request/show/480819
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=173
2017-03-17 13:18:51 +00:00
Jordi Massaguer
9c1f006520 Accepting request 477670 from home:cyphar:containers
This massively cleans up the docker mount secrets patch we have to use the new
Docker Swarm framework for /run/secrets (which doesn't require swarm mode with
these patches).

OBS-URL: https://build.opensuse.org/request/show/477670
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=172
2017-03-08 09:03:15 +00:00
Aleksa Sarai
f0d9c665f7 Accepting request 477346 from home:jordimassaguerpla:branch:V:c:docker:small_fixes_1_13_0
- fix docker-mount-secrets.patch to apply to docker-1.13.0 

- Remove old plugins.json to prevent docker-1.13 to fail to start 

- Fix bsc#1026827: systemd TasksMax default throttles docker  

- Fix post section by adding shadow as a package requirement
  Otherwise the groupadd instruction fails

OBS-URL: https://build.opensuse.org/request/show/477346
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=171
2017-03-07 10:40:30 +00:00
Jordi Massaguer
bfed92d82d Accepting request 476967 from home:cyphar:containers
- Add patch to fix TestDaemonCommand failure in %check. This is an upstream
  bug, and has an upstream PR to fix it https://github.com/docker/docker/pull/31549.
  + pr31549-cmd-docker-fix-TestDaemonCommand.patch

OBS-URL: https://build.opensuse.org/request/show/476967
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=170
2017-03-06 09:15:37 +00:00
Aleksa Sarai
d94576af79 Accepting request 461899 from home:jordimassaguerpla:branch:Vc:update_docker_1_13
- update docker to 1.13.0
  see details in https://github.com/docker/docker/releases/tag/v1.13.0 
- use the same buildflags for building docker and for building the
  tests.
- enable pkcs11:
  37fa75b344

OBS-URL: https://build.opensuse.org/request/show/461899
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=169
2017-03-05 03:07:44 +00:00
Jordi Massaguer
e41683b0fb Accepting request 453067 from openSUSE:Factory:zSystems
please remove that artificial excludearch s390x for opensuse

OBS-URL: https://build.opensuse.org/request/show/453067
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=167
2017-01-30 09:45:07 +00:00
Aleksa Sarai
e29a1fcaf0 Accepting request 452786 from home:jordimassaguerpla:branch:Vc:fix_runtime_docker
- provide the oci runtime so that containers which were using an old
  runtime option, when started on the new docker version, the runtime
  is changed to the new one. fix bsc#1020806 bsc#1016992

OBS-URL: https://build.opensuse.org/request/show/452786
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=166
2017-01-27 16:27:14 +00:00
Aleksa Sarai
9dd652a377 Accepting request 450174 from home:jordimassaguerpla:branch:Vc:update_docker_1_12_6
OBS-URL: https://build.opensuse.org/request/show/450174
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=164
2017-01-13 17:01:50 +00:00
Aleksa Sarai
82acbf96ef Accepting request 449885 from home:jordimassaguerpla:branch:Vc:add_wait_on_service_startup
- add "a wait" when starting docker service to fix
  bsc#1019251

OBS-URL: https://build.opensuse.org/request/show/449885
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=163
2017-01-13 13:05:35 +00:00
Aleksa Sarai
d7c5e8e7f3 Accepting request 447283 from home:jordimassaguerpla:branch:V:c:fix_ppc64le
- remove netlink_gcc_go.patch after integration of PR
  https://github.com/golang/go/issues/11707
- new boltdb_bolt_add_brokenUnaligned.patch for ppc64
  waiting for https://github.com/boltdb/bolt/pull/635

OBS-URL: https://build.opensuse.org/request/show/447283
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=161
2016-12-21 14:28:32 +00:00
Jordi Massaguer
e7c95c3802 Accepting request 447279 from home:cyphar:containers
Remove socket activation from Docker, to match upstream.

OBS-URL: https://build.opensuse.org/request/show/447279
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=159
2016-12-21 09:44:20 +00:00
Aleksa Sarai
3d7280619a OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=158 2016-12-19 14:01:37 +00:00
Aleksa Sarai
2033d2ac73 Accepting request 443923 from home:jordimassaguerpla:branch:vc:docker:fix_completin
- fix bash-completion

OBS-URL: https://build.opensuse.org/request/show/443923
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=156
2016-12-11 04:45:46 +00:00
Jordi Massaguer
226e269bd5 Accepting request 442751 from home:boombatower:branches:Virtualization:containers
Add packageand(docker:bash) to bash-completion to match zsh-completion.

OBS-URL: https://build.opensuse.org/request/show/442751
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=154
2016-11-30 09:52:14 +00:00
Jordi Massaguer
93c5e4c56c - fix runc and containerd revisions
fix bsc#1009961

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=152
2016-11-24 16:09:34 +00:00
Jordi Massaguer
68dcb35da6 - update docker to 1.12.3
- fix bsc#1007249 - CVE-2016-8867: Fix ambient capability usage in containers
 - other fixes:
   https://github.com/docker/docker/releases/tag/v1.12.3

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=150
2016-10-27 11:36:02 +00:00
Jordi Massaguer
f6cba4501a add changelog entry which was removed:
Fix go version to 1.5 (bsc#977394)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=149
2016-10-26 15:19:09 +00:00
Jordi Massaguer
c8a522d920 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=148 2016-10-24 10:56:09 +00:00
Miquel Sabate Sola
96b81887ce Accepting request 434284 from home:cyphar:branches:Virtualization:containers
This just fixes the docker-mount-secrets.patch to assist in bsc#999582.

OBS-URL: https://build.opensuse.org/request/show/434284
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=146
2016-10-11 10:30:52 +00:00
Aleksa Sarai
1013eed0ae Accepting request 428673 from home:jordimassaguerpla:branch:V:c:fix_go_arches_def
- fix go_arches definition: use global instead of define, otherwise
  it fails to build

OBS-URL: https://build.opensuse.org/request/show/428673
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=143
2016-09-19 12:08:32 +00:00
Miquel Sabate Sola
3919623e60 Accepting request 427574 from home:cyphar:branches:Virtualization:containers
Adds the dockerd man page.

OBS-URL: https://build.opensuse.org/request/show/427574
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=142
2016-09-14 10:14:05 +00:00
Miquel Sabate Sola
7b7b508120 Accepting request 426147 from home:thipp:branch:Virtualization:containers
- add missing patch to changelog

OBS-URL: https://build.opensuse.org/request/show/426147
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=141
2016-09-14 07:47:42 +00:00
Alvaro Saurin
266b75a4a6 Accepting request 425388 from home:thipp:branch:Virtualization:containers
- fix integration test case

OBS-URL: https://build.opensuse.org/request/show/425388
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=140
2016-09-09 12:03:05 +00:00
Flavio Castelli
f0b7966b11 Accepting request 425094 from home:thipp:branch:Virtualization:containers
- update rpmlintrc 
- make test timeout configurable

OBS-URL: https://build.opensuse.org/request/show/425094
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=139
2016-09-06 14:03:21 +00:00
Thomas Hipp
cdc9ae4192 Accepting request 424428 from home:cyphar:branches:Virtualization:containers
Fix noarch oddness.

OBS-URL: https://build.opensuse.org/request/show/424428
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=138
2016-09-02 10:40:58 +00:00
Christian Brauner
aeedf36a58 Accepting request 423771 from home:jordimassaguerpla:branch:fix_static_build_ppc64le:docker
- Fix build for ppc64le: use static libgo for dockerd and docker-proxy
  as in docker build.

OBS-URL: https://build.opensuse.org/request/show/423771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=137
2016-08-30 13:36:05 +00:00
Aleksa Sarai
3f61d42910 Accepting request 423658 from home:jordimassaguerpla:branch:update_docker_1_12_1
- Update docker to 1.12.1 (bsc#996015)
  see changelog in https://github.com/docker/docker/releases/tag/v1.12.1

OBS-URL: https://build.opensuse.org/request/show/423658
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=136
2016-08-29 12:39:23 +00:00
Jordi Massaguer
bf63e2c24a Accepting request 423068 from home:chbrauner:branches:Virtualization:containers
Add Alvaro's (asaurin@suse.de) work on a integration test binary.

OBS-URL: https://build.opensuse.org/request/show/423068
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=135
2016-08-26 12:49:06 +00:00
Jordi Massaguer
e0fc501ae0 Accepting request 423036 from home:cyphar:branches:Virtualization:containers
boo#995620

OBS-URL: https://build.opensuse.org/request/show/423036
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=134
2016-08-26 10:55:56 +00:00
Aleksa Sarai
423e97ff39 Accepting request 423023 from home:jordimassaguerpla:branch:V:c:fix_migration_code_again
- fix bsc#995102 - Docker "migrator" prevents installing "docker",
  if docker 1.9 was installed before but there were no images

OBS-URL: https://build.opensuse.org/request/show/423023
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=133
2016-08-26 10:03:39 +00:00
Jordi Massaguer
d3620f68cb Accepting request 422714 from home:cyphar:branches:Virtualization:containers
Fixes the overwrites of docker.service.

OBS-URL: https://build.opensuse.org/request/show/422714
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=132
2016-08-26 09:56:58 +00:00
Christian Brauner
d227abc5a1 Accepting request 422125 from home:jordimassaguerpla:branch:V:c:remove_patch_add_tests
- remove disable-pprof-trace.patch: We can remove this patch because
  we use go 1.6, either gcc6-go or gc-go. This patch was for gcc5-go

OBS-URL: https://build.opensuse.org/request/show/422125
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=131
2016-08-25 14:14:03 +00:00
Christian Brauner
214db3dee3 Accepting request 421577 from home:jordimassaguerpla:branch:V:c:add_go_arches_in_prjconf
- add go_arches in project configuration: this way, we can use the
  same spec file but decide in the project configuration if to
  use gc-go or gcc-go for some archs.

OBS-URL: https://build.opensuse.org/request/show/421577
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=128
2016-08-24 12:33:39 +00:00
Christian Brauner
d470da093f Accepting request 421307 from Virtualization:containers:1.12-RC
- use gcc6-go instead of gcc5-go (bsc#988408) 
- build ppc64le with gc-go because this version builds with gc-go 1.6
- remove bnc964673-boltdb-metadata-recovery.patch because it has already
  been merged

- update to v1.12.0 (bsc#995058)
  see detailed changelog at
    https://github.com/docker/docker/releases/tag/v1.12.0
- disable test that fail in obs build context
- only run unit tests on architectures that provide the go list and go test
  tools
- disable dockerd, parser, integration test, and devicemapper related tests
  on versions below SLE12 and openSUSE_13.2
- bump test timeout to 10m (for aarch64)
- run unit tests during the build
- Adapt docker.service file.
- adapt install sections for gccgo builds: gccgo build are not built in separate
  folders for client and daemon. They both reside in dyngccgo.
- gcc-go-patch: link against systemd when compiling the daemon.
- Add disable-pprof-trace.patch
  pprof.Trace() is not available in go version <= 1.4 which we use to build SLES
  packages. This patch comments out the pprof.Trace() section.
- update gcc-go-patch and docker-mount-secrets.patch

- Fixed binary split, install both required binaries correctly

OBS-URL: https://build.opensuse.org/request/show/421307
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=127
2016-08-23 14:44:42 +00:00
Christian Brauner
031a7bc93c Accepting request 419583 from home:cyphar:branches:Virtualization:containers
This pins the Docker component versions to ensure we don't create problems for ourselves. boo#993847

OBS-URL: https://build.opensuse.org/request/show/419583
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=125
2016-08-16 10:57:11 +00:00
Jordi Massaguer
27ad730437 Accepting request 415853 from home:simotek:branches:Virtualization:containers
add missing socket in %post

OBS-URL: https://build.opensuse.org/request/show/415853
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=123
2016-08-09 09:44:19 +00:00
Christian Brauner
6c56516e3a Accepting request 412185 from home:jordimassaguerpla:mbranch:2016_07_19:Vc:docker
- remove kernel dependency (bsc#987198)

OBS-URL: https://build.opensuse.org/request/show/412185
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=121
2016-07-19 19:07:01 +00:00
Jordi Massaguer
e05a54b725 add bug number for docker 1.11.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=120
2016-07-19 15:33:11 +00:00
Jordi Massaguer
6355b5c0d1 Accepting request 408295 from home:chbrauner:branches:Virtualization:containers
We've been informed (bsc#988707) that iptables will work on ppc64le with the new SLE release. Hence, we can remove the sysconfig.docker.ppc64le patch.

OBS-URL: https://build.opensuse.org/request/show/408295
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=118
2016-07-14 09:13:29 +00:00
Christian Brauner
d9b4385673 Accepting request 406826 from home:jordimassaguerpla:branch:docker:2016_07_06
- fix bsc#984942: audit.rules in docker-1.9.1-58.1.x86_64.rpm has a
  syntax error

OBS-URL: https://build.opensuse.org/request/show/406826
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=115
2016-07-05 18:33:23 +00:00
Christian Brauner
b2da1ef3a2 Accepting request 406751 from home:cyphar:branches:Virtualization:containers
This fixes up a few things, including bnc#983015. Delegate and TaskMax are commented out for documentation purposes.

OBS-URL: https://build.opensuse.org/request/show/406751
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=114
2016-07-05 14:37:24 +00:00
Jordi Massaguer
fb808759db Accepting request 404372 from devel:ARM:containers
- readd dropped declaration for patch200

OBS-URL: https://build.opensuse.org/request/show/404372
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=112
2016-06-27 07:26:43 +00:00
Jordi Massaguer
89ef316d94 Accepting request 400767 from home:scarabeus_iv:branches:Virtualization:containers
- Pass over with spec-cleaner, no factual changes

OBS-URL: https://build.opensuse.org/request/show/400767
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=111
2016-06-21 10:05:57 +00:00
Aleksa Sarai
f650820282 * Removed patches:
- cve-2016-3697-numeric-uid.patch (merged upstream in gh@docker/docker#22998).
* Update Docker to 1.11.2. Changelog from upstream:

* Networking
  * Fix a stale endpoint issue on overlay networks during ungraceful restart
    (#23015)
  * Fix an issue where the wrong port could be reported by docker
    inspect/ps/port (#22997)
* Runtime
  * Fix a potential panic when running docker build (#23032)
  * Fix interpretation of --user parameter (#22998)
  * Fix a bug preventing container statistics to be correctly reported (#22955)
  * Fix an issue preventing container to be restarted after daemon restart
    (#22947)
  * Fix issues when running 32 bit binaries on Ubuntu 16.04 (#22922)
  * Fix a possible deadlock on image deletion and container attach (#22918)
  * Fix an issue where containers fail to start after a daemon restart if they
    depend on a containerized cluster store (#22561)
  * Fix an issue causing docker ps to hang on CentOS when using devicemapper
    (#22168, #23067)
  * Fix a bug preventing to docker exec into a container when using
    devicemapper (#22168, #23067)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=109
2016-06-08 14:50:53 +00:00
Jordi Massaguer
fd323b7e80 Accepting request 396996 from home:jordimassaguerpla:mbranch:VC:2016-05-20:docker
- Fix udev files ownership

OBS-URL: https://build.opensuse.org/request/show/396996
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=107
2016-05-20 10:32:51 +00:00
Aleksa Sarai
22d959a1c7 * Make sure we *always* build unstripped Go binaries.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=106
2016-05-18 14:21:48 +00:00
Aleksa Sarai
ca40a59d67 * Add a patch to fix database soft corruption issues if the Docker dameon dies
in a bad state. There is a PR upstream to vendor Docker to have this fix as
  well, but it probably won't get in until 1.11.2. bnc#964673
  (https://github.com/docker/docker/pull/22765)
  + bnc964673-boltdb-metadata-recovery.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=105
2016-05-16 13:58:14 +00:00
Aleksa Sarai
f2ab5e5b2d * Remove conditional Patch directive for SUSE secrets, since conditionally
including patches results in incompatible .src.rpms. The patch is still
  applied conditionally.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=103
2016-05-02 07:41:45 +00:00
Aleksa Sarai
172c1f6bc3 * Update to Docker 1.11.1. Changelog from upstream:
* Distribution
    - Fix schema2 manifest media type to be of type `application/vnd.docker.container.image.v1+json` ([#21949](https://github.com/docker/docker/pull/21949))
  * Documentation
    + Add missing API documentation for changes introduced with 1.11.0 ([#22048](https://github.com/docker/docker/pull/22048))
  * Builder
    * Append label passed to `docker build` as arguments as an implicit `LABEL` command at the end of the processed `Dockerfile` ([#22184](https://github.com/docker/docker/pull/22184))
  * Networking
    - Fix a panic that would occur when forwarding DNS query ([#22261](https://github.com/docker/docker/pull/22261))
    - Fix an issue where OS threads could end up within an incorrect network namespace when using user defined networks ([#22261](https://github.com/docker/docker/pull/22261))
  * Runtime
    - Fix a bug preventing labels configuration to be reloaded via the config file ([#22299](https://github.com/docker/docker/pull/22299))
    - Fix a regression where container mounting `/var/run` would prevent other containers from being removed ([#22256](https://github.com/docker/docker/pull/22256))
    - Fix an issue where it would be impossible to update both `memory-swap` and `memory` value together ([#22255](https://github.com/docker/docker/pull/22255))
    - Fix a regression from 1.11.0 where the `/auth` endpoint would not initialize `serveraddress` if it is not provided ([#22254](https://github.com/docker/docker/pull/22254))
    - Add missing cleanup of container temporary files when cancelling a schedule restart ([#22237](https://github.com/docker/docker/pull/22237))
    - Removed scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993))
    - Fix a panic that would occur when the plugins were activated via the json spec ([#22191](https://github.com/docker/docker/pull/22191))
    - Fix restart backoff logic to correctly reset delay if container ran for at least 10secs ([#22125](https://github.com/docker/docker/pull/22125))
    - Remove error message when a container restart get cancelled ([#22123](https://github.com/docker/docker/pull/22123))
    - Fix an issue where `docker` would not correcly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121))
    - Fix a panic that could occur when servicing concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))`
    - Revert deprecation of non-existing host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065))
    - Hide misleading rpc error on daemon shutdown ([#22058](https://github.com/docker/docker/pull/22058))

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=102
2016-04-29 09:33:54 +00:00
Aleksa Sarai
f9483df5af - Add patch to fix vulnerability in Docker <= 1.11.0. This patch is upstream,
but was merged after the 1.11.0 merge window. CVE-2016-3697. bsc#976777.
    + cve-2016-3697-numeric-uid.patch
  The upstream PR is here[1] and was vendored into Docker here[2].

  [1]: https://github.com/opencontainers/runc/pull/708
  [2]: https://github.com/docker/docker/pull/21665

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=101
2016-04-22 13:09:10 +00:00
Flavio Castelli
8e056c6a5a Accepting request 390606 from home:pluskalm:branches:Virtualization:containers
- Supplemnent zsh from zsh-completion
  * zsh-completion will be automatically installed if zsh and 
    docker are installed

OBS-URL: https://build.opensuse.org/request/show/390606
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=100
2016-04-19 07:54:05 +00:00
Jordi Massaguer
585f0efd39 - Remove gcc5_socker_workaround.patch: This patch is not needed anymore
since gcc5 has been updated in all platforms

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=99
2016-04-18 15:45:05 +00:00
Aleksa Sarai
3e758ad610 * Removed patches that have been fixed upstream and in gcc-go:
- boltdb_bolt_powerpc.patch
  - fix-apparmor.patch
  - fix-btrfs-ioctl-structure.patch
  - fix-docker-init.patch
  - libnetwork_drivers_bridge_powerpc.patch
  - ignore-dockerinit-checksum.patch
* Require containerd, as it is the only currently supported Docker execdriver.
* Update docker.socket to require containerd.socket and use --containerd in
  docker.service so that the services are self-contained.
* Update to Docker 1.11.0.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=97
2016-04-18 06:28:19 +00:00
Jordi Massaguer
c6f960a7a7 fix changelog so that it matches the one in sles12 and so we share the package
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=94
2016-04-15 10:27:31 +00:00
Flavio Castelli
a57c99952a Accepting request 387297 from devel:ARM:Factory
- use go-lang for aarch64:
  - drop fix_platform_type_arm.patch (works around a gcc-go bug, so
  unnecessary)

OBS-URL: https://build.opensuse.org/request/show/387297
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=91
2016-04-11 08:00:40 +00:00
Aleksa Sarai
4fc4784b3b * Add bugzilla reference bnc#974208
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=90
2016-04-07 09:43:11 +00:00
Aleksa Sarai
fc54adafab * Add patch from upstream (https://github.com/docker/docker/pull/21723) to fix
compilation on Factory and Tumbleweed (which have btrfsprogs >= 4.5).
    + fix-btrfs-ioctl-structure.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=89
2016-04-07 09:37:14 +00:00
Flavio Castelli
30f62d728c - Changed systemd unit file and default sysconfig file to include network options,
this is needed to get SDN like flannel to work

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=87
2016-03-22 15:28:46 +00:00
Jordi Massaguer
8f8770d804 rebase changelog based on openSUSE:13.2:Update docker
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=86
2016-03-15 15:54:46 +00:00
Jordi Massaguer
f129359d5e fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=84
2016-03-15 11:39:02 +00:00
Jordi Massaguer
9339aa78a4 sync with latest changes for docker-1.10 and also sync changelog with
package for SLE

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=83
2016-03-15 11:35:05 +00:00
Jordi Massaguer
5b9dc986b2 - update to docker 1.10.3 (bnc#970637)
Runtime
    Fix Docker client exiting with an "Unrecognized input header" error #20706
    Fix Docker exiting if Exec is started with both AttachStdin and Detach #20647
  Distribution
    Fix a crash when pushing multiple images sharing the same layers to the same repository in parallel #20831
    Fix a panic when pushing images to a registry which uses a misconfigured token service #21030
  Plugin system
    Fix issue preventing volume plugins to start when SELinux is enabled #20834
    Prevent Docker from exiting if a volume plugin returns a null response for Get requests #20682
    Fix plugin system leaking file descriptors if a plugin has an error #20680
  Security
    Fix linux32 emulation to fail during docker build #20672 It was due to the personality syscall being blocked by the default seccomp profile.
    Fix Oracle XE 10g failing to start in a container #20981 It was due to the ipc syscall being blocked by the default seccomp profile.
    Fix user namespaces not working on Linux From Scratch #20685
    Fix issue preventing daemon to start if userns is enabled and the subuid or subgid files contain comments #20725
  More at https://github.com/docker/docker/releases/tag/v1.10.3

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=82
2016-03-11 09:13:43 +00:00
Jordi Massaguer
0a40d1c851 Accepting request 367638 from home:michel_mno:branches:Virtualization:containers
- more patches to build on ppc64 architecture
  update netlink_gcc_go.patch
  new netlink_netns_powerpc.patch
  new boltdb_bolt_powerpc.patch
  new libnetwork_drivers_bridge_powerpc.patch to replace
      deleted fix-ppc64le.patch

OBS-URL: https://build.opensuse.org/request/show/367638
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=81
2016-03-07 14:44:00 +00:00
Aleksa Sarai
6c72404a57 - Remove docker-image-migrator for now (there are plenty of issues getting it to
work properly at the moment). (bnc#968933)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=80
2016-03-07 12:08:24 +00:00
Jordi Massaguer
6a84d2ec5a - fix bsc#968972 - let docker manage the cgroups of the processes
that it launches without systemd

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=78
2016-03-01 18:22:19 +00:00
Jordi Massaguer
7eeda7063e fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=77
2016-03-01 17:44:13 +00:00
Jordi Massaguer
67e552755b fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=76
2016-03-01 15:46:41 +00:00
Jordi Massaguer
0d6e53e6f0 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=75
2016-03-01 15:45:33 +00:00
Jordi Massaguer
c675fac864 update to docker-1.10.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=74
2016-03-01 15:43:51 +00:00
Aleksa Sarai
9e251436af - fix-apparmor.patch: switch to a backported version of docker/docker#20305,
which also fixes several potential issues if the major version of apparmor
  changes.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=73
2016-02-15 13:18:46 +00:00
Jordi Massaguer
570a2ef161 - Update to docker 1.10.1
It includes some fixes to 1.10.0, see detailed changelog in
https://github.com/docker/docker/blob/v1.10.1/CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=72
2016-02-12 16:12:58 +00:00
Jordi Massaguer
fce327c0ca fix-apparmor.patch: fix https://github.com/docker/docker/issues/20269 . It affects SLE12 which has apparmor
version 2.8 and not openSUSE which has version 2.9.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=71
2016-02-12 12:52:19 +00:00
Jordi Massaguer
92e1eff954 review changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=68
2016-02-09 17:30:35 +00:00
Jordi Massaguer
64062d332d - Update to 1.10.0 version
Add usernamespace support
  Add support for custom seccomp profiles
  Improvements in network and volume management
detailed changelog in
590d5108bb/CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=58
2016-02-05 09:21:26 +00:00
Aleksa Sarai
9dce1f84b9 Accepting request 356411 from home:cyphar:branches:Virtualization:containers
This adds a fix for the (quite specific) JSON bug which completely breaks container starts.

OBS-URL: https://build.opensuse.org/request/show/356411
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=57
2016-01-28 08:07:07 +00:00
Jordi Massaguer
fc77975fbd - gcc5-go in Tumbleweed includes this commit
a850225433
  Which "fixes" the data type for RawSockaddr.Data
  However, docker now expects the "wrong" data type, since docker had a workaround
  for that issue.
  Thus, we need to workaround the workaroundn in tumbleweed
- There was an error in one of the file list

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=54
2016-01-21 16:53:25 +00:00
Flavio Castelli
f75a1e668a - Add rules for auditd. This is required to fix bnc#959405
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=49
2015-12-23 10:57:20 +00:00
Jordi Massaguer
b348880837 Accepting request 347470 from home:michel_mno:branches:Virtualization:containers
-  remove 2 patches and add 5 others after 1.9.1 upgrade
   Removed:
    docker_missing_ppc64le_netlink_linux_files.patch
    docker_rename_jump_amd64_as_jump_linux.patch
   Added:
    add_bolt_ppc64.patch
    add_bolt_arm64.patch
    docker_remove_journald_to_fix_dynbinary_build_on_arm.patch
    docker_remove_journald_to_fix_dynbinary_build_on_powerpc.patch
    docker_remove_journald_to_fix_dynbinary_build_on_arm64.patch

OBS-URL: https://build.opensuse.org/request/show/347470
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=47
2015-12-07 08:58:45 +00:00
Flavio Castelli
c22c6eb66c - Upgrade to 1.9.1(bnc#956434)
* Runtime:
    - Do not prevent daemon from booting if images could not be restored (#17695)
    - Force IPC mount to unmount on daemon shutdown/init (#17539)
    - Turn IPC unmount errors into warnings (#17554)
    - Fix `docker stats` performance regression (#17638)
    - Clarify cryptic error message upon `docker logs` if `--log-driver=none` (#17767)
    - Fix seldom panics (#17639, #17634, #17703)
    - Fix opq whiteouts problems for files with dot prefix (#17819)
    - devicemapper: try defaulting to xfs instead of ext4 for performance reasons (#17903, #17918)
    - devicemapper: fix displayed fs in docker info (#17974)
    - selinux: only relabel if user requested so with the `z` option (#17450, #17834)
    - Do not make network calls when normalizing names (#18014)
  *Client:
    - Fix `docker login` on windows (#17738)
    - Fix bug with `docker inspect` output when not connected to daemon (#17715)
    - Fix `docker inspect -f {{.HostConfig.Dns}} somecontainer` (#17680)
  * Builder:
    - Fix regression with symlink behavior in ADD/COPY (#17710)
  * Networking:
    - Allow passing a network ID as an argument for `--net` (#17558)
    - Fix connect to host and prevent disconnect from host for `host` network (#17476)
    - Fix `--fixed-cidr` issue when gateway ip falls in ip-range and ip-range is
      not the first block in the network (#17853)
    - Restore deterministic `IPv6` generation from `MAC` address on default `bridge` network (#17890)
    - Allow port-mapping only for endpoints created on docker run (#17858)
    - Fixed an endpoint delete issue with a possible stale sbox (#18102)
  * Distribution:
    - Correct parent chain in v2 push when v1Compatibility files on the disk are inconsistent (#18047)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=44
2015-11-24 11:52:52 +00:00
Flavio Castelli
7271c7c852 - Update to version 1.9.0 (bnc#954812):
- Remove fix_15279.patch: code has been merged upstream
- Change systemd unit file to no longer use the deprecated "-d" option (bnc#954737)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=43
2015-11-13 17:38:43 +00:00
Flavio Castelli
c2bb76f4bf Accepting request 341015 from home:michel_mno:branches:Virtualization:containers
- new patch to avoid ppc64le build error
  docker_missing_ppc64le_netlink_linux_files.patch

OBS-URL: https://build.opensuse.org/request/show/341015
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=41
2015-10-26 17:42:45 +00:00
Flavio Castelli
2e6d120ee5 - Update docker to 1.8.3 version:
* Fix layer IDs lead to local graph poisoning (CVE-2014-8178) (bnc#949660)
  * Fix manifest validation and parsing logic errors allow pull-by-digest validation bypass (CVE-2014-8179)
  * Add `--disable-legacy-registry` to prevent a daemon from using a v1 registry

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=39
2015-10-12 20:33:58 +00:00
Jordi Massaguer
41dce14846 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=36
2015-09-22 11:04:26 +00:00
Jordi Massaguer
a479c94961 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=35
2015-09-21 09:48:09 +00:00
Jordi Massaguer
4771fe429a - Update docker to 1.8.2 version
see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.2 
- devicemapper: fix zero-sized field access 
  Fix issue #15279: does not build with Go 1.5 tip
  Due to golang/go@7904946
  the devices field is dropped.
  This solution works on go1.4 and go1.5
  See more in https://github.com/docker/docker/pull/15404
  
  This fix was not included in v1.8.2. See previous link
  on why.
  fix_15279.patch: contains the patch for issue#15279

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=32
2015-09-10 22:36:30 +00:00
Jordi Massaguer
c59282bf35 Accepting request 324771 from home:michel_mno:branches:Virtualization:containers
- new patch as per upstream issue
  https://github.com/docker/docker/issues/14056#issuecomment-113680944
  docker_rename_jump_amd64_as_jump_linux.patch

- ignore-dockerinit-checksum.patch need -p1 in spec

OBS-URL: https://build.opensuse.org/request/show/324771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=30
2015-08-21 09:18:31 +00:00
Jordi Massaguer
aa551a814d fix changelog: state bugzilla numbers and add reason why patch has been removed
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=28
2015-08-20 08:15:10 +00:00
Jordi Massaguer
0f220182b4 - Update to docker 1.8.1:
- Fix a bug where pushing multiple tags would result in invalid images

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=27
2015-08-13 09:00:13 +00:00
Jordi Massaguer
af67b92266 - Update to docker 1.8.0:
see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=26
2015-08-12 16:16:03 +00:00
Jordi Massaguer
fe9b98619e - Exclude archs where docker does not build. Otherwise it gets into
and infinite loop when building.
  We'll fix that later if we want to release for those archs.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=24
2015-07-24 14:22:23 +00:00
Jordi Massaguer
348bf85a75 - Update to 1.7.1 (2015-07-14) (bnc#938156)
Runtime
    Fix default user spawning exec process with docker exec
    Make --bridge=none not to configure the network bridge
    Publish networking stats properly
    Fix implicit devicemapper selection with static binaries
    Fix socket connections that hung intermittently
    Fix bridge interface creation on CentOS/RHEL 6.6
    Fix local dns lookups added to resolv.conf
    Fix copy command mounting volumes
    Fix read/write privileges in volumes mounted with --volumes-from
Remote API
    Fix unmarshalling of Command and Entrypoint
    Set limit for minimum client version supported
    Validate port specification
    Return proper errors when attach/reattach fail
Distribution
    Fix pulling private images
    Fix fallback between registry V2 and V1

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=19
2015-07-15 08:15:16 +00:00
Jordi Massaguer
85c8df8f2f - Exclude init scripts other than systemd from the test-package
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=17
2015-07-10 11:27:13 +00:00
Jordi Massaguer
a90ce89d3f update changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=16
2015-07-01 12:36:58 +00:00
Flavio Castelli
4931d03fff Accepting request 313847 from home:dirkmueller:branches:Virtualization:containers
- rediff ignore-dockerinit-checksum.patch, gcc-go-build-static-libgo.patch
  to make them apply again.
- introduce go_arches for architectures that use the go compiler
  instead of gcc-go
- add docker-netns-aarch64.patch: Add support for AArch64
- enable build for aarch64

OBS-URL: https://build.opensuse.org/request/show/313847
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=14
2015-06-26 14:30:44 +00:00
Flavio Castelli
fc329e1c4c - Build man pages only on platforms where gc compiler is available.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=13
2015-06-24 09:02:29 +00:00
Flavio Castelli
a2023564fb - Updated to 1.7.0 (2015-06-16) - bnc#935570
* Runtime
    - Experimental feature: support for out-of-process volume plugins
    - The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag
    - The `exec` command supports the `-u|--user` flag to specify the new process owner
    - Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags
    - The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota`
    - Container block IO can be controlled in `docker run` using`--blkio-weight`
    - ZFS support
    - The `docker logs` command supports a `--since` argument
    - UTS namespace can be shared with the host with `docker run --uts=host`
  * Quality
    - Networking stack was entirely rewritten as part of the libnetwork effort
    - Engine internals refactoring
    - Volumes code was entirely rewritten to support the plugins effort
    - Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting
  * Build
    - Support ${variable:-value} and ${variable:+value} syntax for environment variables
    - Support resource management flags `--cgroup-parent`, `--cpu-period`, `--cpu-quota`, `--cpuset-cpus`, `--cpuset-mems`
    - git context changes with branches and directories
    - The .dockerignore file support exclusion rules
  * Distribution
    - Client support for v2 mirroring support for the official registry
  * Bugfixes
    - Firewalld is now supported and will automatically be used when available
    - mounting --device recursively
- Patch 0002-Stripped-dockerinit-binary.patch renamed to fix-docker-init.patch
  and fixed to build with latest version of docker

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=12
2015-06-22 09:09:23 +00:00
Flavio Castelli
84f28f19ef Accepting request 311406 from home:jordimassaguerpla:branches:Virtualization:containers
Remove unneeded dependencies:
 * go-go-md2man: this is required to build the man pages. 
 * systemd-devel: this was a build time dependency required to have some directories inside of the build root

Exclude the whole "/usr/src/docker/bundles" directory from the final package.

OBS-URL: https://build.opensuse.org/request/show/311406
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=11
2015-06-10 08:16:24 +00:00
Flavio Castelli
9017ee55c3 - Fixed ppc64le name inside of spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=10
2015-06-05 15:27:32 +00:00
Flavio Castelli
5a40d680c1 - Build docker on PPC and S390x using gcc-go provided by gcc5
* added sysconfig.docker.ppc64le: make docker daemon start on ppc64le
    despite some iptables issues. To be removed soon
  * ignore-dockerinit-checksum.patch: applied only when building with
    gcc-go. Required to workaround a limitation of gcc-go
  * gcc-go-build-static-libgo.patch: used only when building with gcc-go,
    link libgo statically into docker itself.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=9
2015-06-05 15:24:58 +00:00
Flavio Castelli
bc3232817c Accepting request 308881 from home:dmacvicar:docker-man
- build and install man pages

OBS-URL: https://build.opensuse.org/request/show/308881
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=7
2015-05-27 10:27:27 +00:00
Flavio Castelli
e72f50b069 - Update to version 1.6.2 (2015-05-13) [bnc#931301]
* Revert change prohibiting mounting into /sys

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=5
2015-05-18 15:12:26 +00:00
Stephan Kulow
aed78a93a0 Accepting request 307100 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/307100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=15
2015-05-15 05:44:24 +00:00