summaryrefslogtreecommitdiff
path: root/libcontainerd
Commit message (Collapse)AuthorAgeFilesLines
* Fix critical bug: can't restart a restarting containerZhang Wei2016-04-112-1/+2
| | | | | | | | | | | | | | | | When user try to restart a restarting container, docker client report error: "container is already active", and container will be stopped instead be restarted which is seriously wrong. What's more critical is that when user try to start this container again, it will always fail. This error can also be reproduced with a `docker stop`+`docker start`. And this commit will fix the bug. Signed-off-by: Zhang Wei <zhangwei555@huawei.com> (cherry picked from commit a705e166cf3bcca62543150c2b3f9bfeae45ecfa)
* Clear nofity socket from containerd envMichael Crosby2016-04-011-0/+9
| | | | | Signed-off-by: Michael Crosby <crosbymichael@gmail.com> (cherry picked from commit 365401703d382861e86072d2813c2eacae56000f)
* Bring back support for DOCKER_RAMDISKTonis Tiigi2016-03-311-0/+2
| | | | | | | Fixes #21631 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 8a4225cd5ad3ad56a7e896f675080c0ed38982a3)
* Fix container mount cleanup issuesTonis Tiigi2016-03-311-0/+2
| | | | | | | | | | | - Refactor generic and path based cleanup functions into a single function. - Include aufs and zfs mounts in the mounts cleanup. - Containers that receive exit event on restore don't require manual cleanup. - Make missing sandbox id message a warning because currently sandboxes are always cleared on startup. libnetwork#975 - Don't unmount volumes for containers that don't have base path. Shouldn't be needed after #21372 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 05cc737f5411a0effd299429140d031c4ad8dd05)
* Redirect containerd stdout/stderr to the docker stream.Anusha Ragunathan2016-03-311-2/+4
| | | | | | | | Its useful to have containerd logs as part of docker. Containerd metrics are too chatty, so set interval to 0. Signed-off-by: Anusha Ragunathan <anusha@docker.com> (cherry picked from commit d9c3b653c0776bdfc4af9129ebbf41160a793cf3)
* When using systemd, pass expected cgroupsPath and cli options to runc.Anusha Ragunathan2016-03-311-1/+24
| | | | | | | | | | runc expects a systemd cgroupsPath to be in slice:scopePrefix:containerName format and the "--systemd-cgroup" option to be set. Update docker accordingly. Fixes 21475 Signed-off-by: Anusha Ragunathan <anusha@docker.com> (cherry picked from commit 7ed3d265a4499ec03f10537fea0aac3ebaa0cec6)
* libcontainerd: reuse our pkg/lockerAlexander Morozov2016-03-313-26/+15
| | | | | | | it fixes race with access to containerMutexes Signed-off-by: Alexander Morozov <lk4d4@docker.com> (cherry picked from commit a7851e2556edb3e5333b6fe53160755fb5b7d616)
* Use separate exec-root for test daemonsTonis Tiigi2016-03-311-1/+1
| | | | | | | Fixes #21545 Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 0d9b94c4c5d6b4f03a7a86e731e4110e9f27a51e)
* Add ulimit support to libcontainerd addprocessTonis Tiigi2016-03-252-0/+12
| | | | | Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 8891afd8385aeb490f8b7d9db8c3828bc7d24dc1)
* Remove grpc logging to stderrMichael Crosby2016-03-251-0/+5
| | | | | Signed-off-by: Michael Crosby <crosbymichael@gmail.com> (cherry picked from commit b0280c37a08a77871947b1045073601deb601eaa)
* Add `docker-` prefix to runc and containerd binariesTibor Vass2016-03-231-4/+4
| | | | Signed-off-by: Tibor Vass <tibor@docker.com>
* Windows: Minimal docker top implementationJohn Howard2016-03-206-3/+68
| | | | Signed-off-by: John Howard <jhoward@microsoft.com>
* Windows: libcontainerd cleanupJohn Howard2016-03-184-74/+17
| | | | Signed-off-by: John Howard <jhoward@microsoft.com>
* Windows libcontainerd implementationJohn Howard2016-03-188-0/+1060
| | | | | | | Signed-off-by: John Howard <jhoward@microsoft.com> Signed-off-by: John Starks <jostarks@microsoft.com> Signed-off-by: Darren Stahl <darst@microsoft.com> Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
* Replace execdrivers with containerd implementationTonis Tiigi2016-03-1815-0/+1526
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Signed-off-by: Anusha Ragunathan <anusha@docker.com>