platform/upstream/docker-engine.git
18 months agoFix side effect(host target rebooting issue) when enlightenment killed in container. 90/282090/1 accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.094801 accepted/tizen/unified/20221102.020509 tizen_8.0_m2_release
Kiwoong Ha [Mon, 26 Sep 2022 09:31:44 +0000 (18:31 +0900)]
Fix side effect(host target rebooting issue) when enlightenment killed in container.

Revert "runc: Make not to create docker folder in the watchdog cgroup"
This reverts commit bd883d50e34b6131376c829a8bbe6fe0ae23ab8f.

Revert "Revert "systemd/docker-engine.service: early disable docker watchdog cgroup""
This reverts commit ac86c84af189c0a780914ec2eb68bff097022dbe.

Change-Id: Id666a782f465549487b205b50585216c450468d9
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
21 months agoUpdate license 21/277521/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060015 accepted/tizen/7.0/unified/hotfix/20221116.110717 accepted/tizen/unified/20220712.133107 submit/tizen/20220708.035344 tizen_7.0_m2_release
Kiwoong Ha [Fri, 8 Jul 2022 02:38:17 +0000 (11:38 +0900)]
Update license

Change-Id: I488eca0d5874b8bfac2fa50c09cbad3b99257b96
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
22 months agorunc: Make not to create docker folder in the watchdog cgroup 74/276274/1 submit/tizen/20220614.004204
Kiwoong Ha [Mon, 13 Jun 2022 23:34:50 +0000 (08:34 +0900)]
runc: Make not to create docker folder in the watchdog cgroup

Change-Id: I65e37f740bfa6cfced587066b221afd576868045
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
22 months agoRevert "systemd/docker-engine.service: early disable docker watchdog cgroup" 73/276273/1
Kiwoong Ha [Mon, 13 Jun 2022 23:33:41 +0000 (08:33 +0900)]
Revert "systemd/docker-engine.service: early disable docker watchdog cgroup"

This reverts commit 1cf0bfe65156434477dae487cea1690c3c3dd09e.

Change-Id: I841438e08910bd665a8ff7d80a9ccb70a371acbf
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
22 months agosystemd/docker-engine.service: early disable docker watchdog cgroup 10/275710/1 submit/tizen/20220531.005415
Min Kang [Mon, 30 May 2022 23:46:16 +0000 (08:46 +0900)]
systemd/docker-engine.service: early disable docker watchdog cgroup

docker creates "docker" sub-directory in all cgroups at the start of containers.
watchdog cgroup is one of them, Even if you do not want it,
notify_on_release is set to 1, and handler operates when a container is terminated.

non-root service cannot change the notify_on_release setting,
so set it to 0 immediately after docker-engine service is executed.

Change-Id: I285e1de785eb2868babcf98db6fa855ca52f3d25

22 months agodocker-engine.socket: change user/group to system_fw 09/275709/1
Min Kang [Mon, 30 May 2022 22:18:01 +0000 (07:18 +0900)]
docker-engine.socket: change user/group to system_fw

for services using the docker socket, make the permissions system_fw

Change-Id: I095f47b803fbbef8a2c6a09a7bde7a4516a5dabe

23 months agorunc: Update runc for changing vip_cgroup to watchdog 62/274862/2 submit/tizen/20220511.061041
Kiwoong Ha [Wed, 11 May 2022 05:23:02 +0000 (14:23 +0900)]
runc: Update runc for changing vip_cgroup to watchdog

Change-Id: I6004125569bbef600743f597b64a207af9cd5d1a
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
2 years agodockerd: disable bridge interface by default 66/265566/1 accepted/tizen/unified/20211028.122238 accepted/tizen/unified/20211103.121931 submit/tizen/20211022.061352 submit/tizen/20211101.054337 submit/tizen/20211103.072542
Kiwoong Ha [Fri, 22 Oct 2021 03:34:48 +0000 (12:34 +0900)]
dockerd: disable bridge interface by default

Change-Id: I3cbbbc352a1790b80accf5291d86c3341d59ce3b
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
2 years agorunc: Update runc for making docker/{cid} folder in vip folder 81/265381/1 accepted/tizen/unified/20211028.122242 submit/tizen/20211018.071247
Kiwoong Ha [Mon, 18 Oct 2021 01:12:05 +0000 (10:12 +0900)]
runc: Update runc for making docker/{cid} folder in vip folder

Make docker/{cid} folder in /sys/fs/cgroup/vip folder for supporting
separated vip_cgroup for container.

Change-Id: I54e5f569f55c6d8c8f9781147eaeec15e422fb3c
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
2 years agorunc: Update runc for supporting vip_cgroup 85/264385/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.225502 accepted/tizen/unified/20210917.060759 submit/tizen/20210917.015020 submit/tizen_6.5/20211028.163301 tizen_6.5.m2_release
Kiwoong Ha [Thu, 16 Sep 2021 23:27:32 +0000 (08:27 +0900)]
runc: Update runc for supporting vip_cgroup

prebuilt/overlay folder was made for updating only the changed part
while keeping the downloaded docker binary as it is

Change-Id: I25a98c5b64e11cc9fc88c2b38238e46f4309a2d6
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
2 years agoFix build errors on armv7l and x86_64 72/262272/1 accepted/tizen/unified/20210806.060007 submit/tizen/20210805.231333
Kiwoong Ha [Thu, 5 Aug 2021 23:00:33 +0000 (08:00 +0900)]
Fix build errors on armv7l and x86_64

Change-Id: Ifb1df1e0ab36fa1b20e77bf3e33809d2ce8f6476
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
2 years agosystemd/docker-engine.service: set data-root to /opt/var/lib/docker 58/262258/1 submit/tizen/20210805.221615
Min Kang [Thu, 5 Aug 2021 07:21:35 +0000 (16:21 +0900)]
systemd/docker-engine.service: set data-root to /opt/var/lib/docker

It is assumed that Docker does not recognize the symlink of the data-root path,
so the absolute path is used.

Change-Id: I2760586e940c16439c5ce8baa791ed69291241ed

2 years agosystemd/docker-engine.socket: use SocketGroup docker 57/262257/1
Min Kang [Fri, 7 May 2021 01:28:08 +0000 (10:28 +0900)]
systemd/docker-engine.socket: use SocketGroup docker

Group authority is granted to the socket, making it easier to manage.

Change-Id: Ib53a7d4f2e5841eac863eb20b0cda43593b69d8e

2 years agoprebuilt: Add docker static x86_64 56/262256/1
Min Kang [Thu, 1 Apr 2021 00:45:19 +0000 (09:45 +0900)]
prebuilt: Add docker static x86_64

get from official download site
https://download.docker.com/linux/static/stable/x86_64/docker-20.10.5.tgz

Change-Id: Iccda50840a572f6f5c2be52b92cb9b44e7a63325

2 years agopackaging: refactoring build spec 55/262255/1
Min Kang [Wed, 4 Aug 2021 08:12:36 +0000 (17:12 +0900)]
packaging: refactoring build spec

 - remove unnecessry Requires and install command
 - using install_service macro
 - using TZ_SYS_ETC instead of /opt/etc
 - add service restart when install

Change-Id: I221de4f7b1f1c0b5598bd460789b93d62377e72c

2 years agodocker static version up to 20.10.5 80/260680/1 accepted/tizen/unified/20210701.122903 submit/tizen/20210701.093921
Min Kang [Thu, 1 Apr 2021 00:44:11 +0000 (09:44 +0900)]
docker static version up to 20.10.5

get from static build binary at official docker download site
https://download.docker.com/linux/static/stable/aarch64/docker-20.10.5.tgz
https://download.docker.com/linux/static/stable/armel/docker-20.10.5.tgz

Change-Id: If64798f5d181a99f7303b27642d7beefb401e123

2 years agosystemd/docker-engine.service: update systemd unit 79/260679/1
Min Kang [Tue, 30 Mar 2021 22:44:38 +0000 (07:44 +0900)]
systemd/docker-engine.service: update systemd unit

refer to official repository
https://github.com/moby/moby/tree/master/contrib/init/systemd

Change-Id: I8b8372cd1e75f6dcc59f3ac7e52b850b4acbf3bb

2 years agoAdd docker 19.03.5 for aarch64 78/260678/1
Kiwoong Ha [Mon, 8 Mar 2021 03:56:39 +0000 (12:56 +0900)]
Add docker 19.03.5 for aarch64

Change-Id: I20b1f381ab3f4d7af773046552ccf2b26b22415e

4 years agoadd docker 19.03.5 78/224678/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105203 accepted/tizen/6.0/unified/hotfix/20201102.235447 accepted/tizen/unified/20200213.121453 submit/tizen/20200213.052716 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
Semun Lee [Wed, 12 Feb 2020 04:45:54 +0000 (13:45 +0900)]
add docker 19.03.5

Change-Id: Ia65afd96ab9d94db80a0478e7275969e58c16f17
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoRemove unnecessary setting 97/209097/1
INSUN PYO [Tue, 2 Jul 2019 07:28:27 +0000 (16:28 +0900)]
Remove unnecessary setting

Change-Id: I36665bc20cc253882d2a5f987121db343e3aecc6

5 years agoMerge branch 'tizen_5.0' into tizen 16/198916/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.004425 accepted/tizen/5.5/unified/mobile/hotfix/20201027.061919 accepted/tizen/5.5/unified/wearable/hotfix/20201027.102104 accepted/tizen/unified/20190201.061310 submit/tizen/20190131.060448 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 tizen_5.5.m2_release
wansuyoo [Thu, 31 Jan 2019 05:14:19 +0000 (14:14 +0900)]
Merge branch 'tizen_5.0' into tizen

Change-Id: I7b4b501615aadcbcf9c6d77f23d27e2b134ee002

5 years agotizen_4.0 base accepted/tizen_4.0_unified accepted/tizen_5.0_unified tizen_4.0 tizen_5.0 accepted/tizen/4.0/unified/20180830.183937 accepted/tizen/5.0/unified/20190208.044456 submit/tizen_4.0/20180828.092957 submit/tizen_5.0/20190130.104909
hwajeong.son [Tue, 28 Aug 2018 08:19:25 +0000 (17:19 +0900)]
tizen_4.0 base

6 years agoRemoved docker-engine.service 79/164779/1
wansu.yoo [Thu, 21 Dec 2017 04:16:03 +0000 (13:16 +0900)]
Removed docker-engine.service

After docker-engine was seperated as service, there is some issues about
communication from docker engine via curl.
So, remove it at this time, and it will be applied after fixed those isses.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I2d4e89f2e30f857f98598883f00f772def03a542

6 years agoAdd file service and socket for docker 77/164377/1
sy1124.kim [Tue, 19 Dec 2017 02:08:05 +0000 (11:08 +0900)]
Add file service and socket for docker

dockzen-launcher separate the part that starts docker engine.
So, added file service and socket for docker engine.
And docker engine will be managed by systemd.

Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
Change-Id: I4db155b5428c4f09a798e99d0e8ed8b9ea3291e5

6 years agoUpdate submodule of docker-ce 95/163395/2 accepted/tizen/unified/20171211.160406 submit/tizen/20171211.052506
wansu.yoo [Mon, 11 Dec 2017 04:44:44 +0000 (13:44 +0900)]
Update submodule of docker-ce

docker-ce is from 9f615b9d89297995d573dfdf70d07ab4233723bf

Chagned verb from %v to %#v when fmt.SPrintf for set IPAddress
When container being created, there is a routine of set IPAddress.
It used fmt.SPrintf with %v verb.
But it caused unhandled page fault of FHUB Kantm kernel if the value is nil.
The value that is being used of fmt.SPrintf is a pointer type,
and the %v verb should be distinguished the nil value.
The fmt '%v' verb does not print nil value for pointer type.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: Ic96492d15fb26749a2ad708b21c27cf42a63ba90

6 years agoUpdate gitmodules.sh for removing init/update script 93/163393/2
wansu.yoo [Mon, 11 Dec 2017 04:42:07 +0000 (13:42 +0900)]
Update gitmodules.sh for removing init/update script

it works with current .gitmodules file and .gitmodules was made from
previous tar files.
so it should not executed when push with new commit.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I918dd22d76230797a49a12df0bb34f72f5ebdec2

6 years agoAdd compylistxattr and copyxattr functions in archive_unix.go file 59/159759/2 accepted/tizen/unified/20171114.062836 submit/tizen/20171113.084815
sy1124.kim [Mon, 13 Nov 2017 04:34:25 +0000 (13:34 +0900)]
Add compylistxattr and copyxattr functions in archive_unix.go file

When engine run "commit",
the file content will be copied from specified layer to new layer.
But copied file have not attribute.

So, Add copylistxattr and copyxattr functions.
This patch can only be used in overlay2 and aufs.

docker-ce commit : 705853e4acd77efa175d65d2b05c07d8020d66c0

Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
Change-Id: I27b085a1905eb3ca79ef3817b20b3b09b70c98b9

6 years agopackaging: Set ExclusiveArch to armv7l. 40/157540/2 accepted/tizen/unified/20171026.074647 submit/tizen/20171025.070558
Dongkyun Son [Wed, 25 Oct 2017 00:31:04 +0000 (09:31 +0900)]
packaging: Set ExclusiveArch to armv7l.

This patch is for blocking 'armv7hl' to build.

Change-Id: I72812429ece2a6e9ce4efac0be336a24210abe85
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agoRemove unnecessary buildrequires 92/154392/1 accepted/tizen/unified/20171011.065940 submit/tizen/20171010.090521 submit/tizen/20171010.091016
sy1124.kim [Tue, 10 Oct 2017 06:56:37 +0000 (15:56 +0900)]
Remove unnecessary buildrequires

Docker-engine doesn't use git.
But it was included in buildrequires.
Checked building and working in rpi3 target.

Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
Change-Id: I86b4921d8ca7200fbe0d1ab46e90eee26d44ddaf

6 years agoUpdate docker-ce tarball 94/149794/1 accepted/tizen/unified/20170913.154607 submit/tizen/20170913.064913
wansu.yoo [Wed, 13 Sep 2017 05:51:35 +0000 (14:51 +0900)]
Update docker-ce tarball

1. docker-ce tarball is from v17.06.1-ce-dz-upload_dockerd_binary of
github.sec.samsung.net/docker-ce.
and, changes are:
1) skip cli build
2) update dockerd binary after build
2. block docker-ce build at docker-engine.spec

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I06ff97d394b0fa0f24778ca5e71e4e9c4ebf4992

6 years ago[obs build testing] add -v option when go build 84/149384/1 submit/tizen/20170912.072010
wansu.yoo [Tue, 12 Sep 2017 07:02:28 +0000 (16:02 +0900)]
[obs build testing] add -v option when go build

"-v : print the names of packages as they are compiled."
it support for trace of docker-engine build.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: Ieede5dc9c0a3723f643bd4260d833307c47d030d

6 years agoRevert "Re-ordered build binary" 75/149275/1
wansu.yoo [Tue, 12 Sep 2017 04:28:47 +0000 (13:28 +0900)]
Revert "Re-ordered build binary"

This reverts commit d1aedf1a7cd61ed71651126849d3ec7334668cff.

Change-Id: I346f29ae7ba48e92a3284de17a931959caa24f4c

6 years agoRe-ordered build binary 23/149023/1 submit/tizen/20170911.094110
wansu.yoo [Mon, 11 Sep 2017 09:34:43 +0000 (18:34 +0900)]
Re-ordered build binary

1. docker cli
2. containerd
3. runc
4. engine

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I97cecb72f36afbe20d0bbf78346298e11d0188aa

6 years agoFixed mic build error 18/147518/1
wansu.yoo [Mon, 4 Sep 2017 23:07:20 +0000 (08:07 +0900)]
Fixed mic build error

"docker-engine" package is consist of 3 binaries (dockerd, containerd, runc).
So, "Requires" option shouldn't exist at docker-engine spec file.
It caused installation error.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I76ecd7c2ed890defcacfe35586ae7a12656434cf

6 years agoAdd build option of spec file 75/146575/1
sy1124.kim [Tue, 29 Aug 2017 10:08:33 +0000 (19:08 +0900)]
Add build option of spec file

The docker-engine only supported arm 32bit architecture.

Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
Change-Id: I4c505e5d275132faec4fc8064babb41ba93c0979

6 years agoMerge branch 'master' of ssh://review.tizen.org:29418/platform/upstream/docker-engine submit/tizen/20170901.044238
sy1124.kim [Tue, 29 Aug 2017 08:43:52 +0000 (17:43 +0900)]
Merge branch 'master' of ssh://review.tizen.org:29418/platform/upstream/docker-engine

6 years agoMerge pull request #1 from RS7-DeviceManagement/v17.06.1-dz
김소영/Developer Experience Lab(S/W센터)/Senior Engineer/삼성전자 [Tue, 29 Aug 2017 07:56:31 +0000 (16:56 +0900)]
Merge pull request #1 from RS7-DeviceManagement/v17.06.1-dz

V17.06.1 dz

6 years agoupdate tar file of containerd, docker-ce, runc
sy1124.kim [Tue, 29 Aug 2017 06:26:05 +0000 (15:26 +0900)]
update tar file of containerd, docker-ce, runc

6 years agoupdate submodule of runc
sy1124.kim [Tue, 29 Aug 2017 06:23:59 +0000 (15:23 +0900)]
update submodule of runc

6 years agoChange branch to v17.06.1-ce-dz
sy1124.kim [Tue, 29 Aug 2017 05:54:41 +0000 (14:54 +0900)]
Change branch to v17.06.1-ce-dz

6 years agoUpdate README.md
김소영/Developer Experience Lab(S/W센터)/Senior Engineer/삼성전자 [Tue, 29 Aug 2017 00:49:14 +0000 (09:49 +0900)]
Update README.md

6 years agoInitial empty repository
Tizen Infrastructure [Mon, 28 Aug 2017 10:32:20 +0000 (10:32 +0000)]
Initial empty repository

6 years agoupdate branch of submoduels
sy1124.kim [Fri, 25 Aug 2017 08:53:48 +0000 (17:53 +0900)]
update branch of submoduels

6 years agoAdd packaging folder
sy1124.kim [Fri, 25 Aug 2017 05:43:16 +0000 (14:43 +0900)]
Add packaging folder

6 years agoChange folder name of submodules.
sy1124.kim [Fri, 25 Aug 2017 00:50:23 +0000 (09:50 +0900)]
Change folder name of submodules.

Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
6 years agoadd submodule of docker-ce
sy1124.kim [Thu, 24 Aug 2017 00:34:52 +0000 (09:34 +0900)]
add submodule of docker-ce

6 years agoadd submodule of runc
sy1124.kim [Thu, 24 Aug 2017 00:29:07 +0000 (09:29 +0900)]
add submodule of runc

6 years agoupdate container branch
sy1124.kim [Thu, 24 Aug 2017 00:15:04 +0000 (09:15 +0900)]
update container branch

6 years agoadd containerd
sy1124.kim [Thu, 24 Aug 2017 00:13:53 +0000 (09:13 +0900)]
add containerd

6 years agoCreate README.md
김소영/Developer Experience Lab(S/W센터)/Senior Engineer/삼성전자 [Wed, 23 Aug 2017 23:56:55 +0000 (08:56 +0900)]
Create README.md