Rename of libcontainer image on Docker Hub

Signed-off-by: Gary Berger <gary@firstclassfunc.com>
reformat with indent -linux

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
Add type for namespaces for better UI

This adds `type Namespaces []Namespace` so that methods can be added to
this slice so that it is easier for consumers to work with the values.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Implement types for namespaces

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
define PR_SET_CHILD_SUBREAPER if not set

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
Merge pull request #293 from gaberger/292-makefilechange

Changed docker hub pointer to dockercore
Merge pull request #300 from dqminh/subreaper

define PR_SET_CHILD_SUBREAPER if not set
Refactor NotifyOnOOM a little

Now there is function NotifyOnOOM in libcontainer package, which
receives *libcontainer.State as argument.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Fix removing of cgroups if something still alive in container

Now we try to remove cgroups 5 times with increased delay between
tries.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Merge pull request #308 from LK4D4/fix_cgroups_removing

Fix removing of cgroups if something still alive in container
Allow non local mac-address.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #310 from jfrazelle/9771-non-local-mac-address

Allow non local mac-address.
Merge pull request #307 from LK4D4/systemd_notify_oom

OOM Notify refactoring
Add Contains wrapper for Namespaces type

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Merge pull request #312 from LK4D4/care_#302

Add type for namespaces for better UI (replacement of #302)
Add lk4d4 as maintainer

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #313 from crosbymichael/lk4d4

Add lk4d4 as maintainer
Namespaces methods should act on pointer

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
nsenter: add tests

Signed-off-by: Andrey Vagin <avagin@openvz.org>
nsenter: check errors from open(), read() and open()

Currently if nsenter is executed without /proc, it segfaulted.

Signed-off-by: Andrey Vagin <avagin@openvz.org>