commit | 00f494715355dad2b69e6c24719f41fb1b026eb7 | [log] [tgz] |
---|---|---|
author | Jess Frazelle <acidburn@google.com> | Thu Aug 03 23:15:53 2017 -0400 |
committer | Jess Frazelle <acidburn@google.com> | Thu Aug 03 23:15:53 2017 -0400 |
tree | 63d60dd9087082fca3ab9b01248d21d2f0b904be | |
parent | 5236e584f021a9b4846dceefb2d40a465847bd16 [diff] |
update travis token Signed-off-by: Jess Frazelle <acidburn@google.com>
Container introspection tool. Find out what container runtime is being used as well as features available.
$ go get github.com/jessfraz/amicontained
$ amicontained -h
***Docker
$ docker run --rm -it r.j3ss.co/amicontained Container Runtime: docker Host PID Namespace: false AppArmor Profile: docker-default (enforce) User Namespace: true User Namespace Mappings: Container -> 0 Host -> 886432 Range -> 65536 $ docker run --rm -it --pid host r.j3ss.co/amicontained Container Runtime: docker Host PID Namespace: true AppArmor Profile: docker-default (enforce) User Namespace: false $ docker run --rm -it --security-opt "apparmor=unconfined" r.j3ss.co/amicontained Container Runtime: docker Host PID Namespace: false AppArmor Profile: unconfined User Namespace: false
unshare
$ sudo unshare --user -r root@coreos:/home/jessie/.go/src/github.com/jessfraz/amicontained# ./amicontained Container Runtime: not-found Host PID Namespace: true AppArmor Profile: unconfined User Namespace: true User Namespace Mappings: Container -> 0 Host -> 0 Range -> 1