v0.0.6
-----BEGIN PGP SIGNATURE-----

iQIcBAABCgAGBQJZhIqvAAoJEBjzaFwAIr/zW74P/1DUc/Pp38egrnNuYh5Hoioo
Z1R2hNS3Clo8fcSiUm8GdPZIwCzTOzqkfuO7AadmQ10hTtdvObhPDlzpdf8WmnDW
nUryM1QXiR1smQJRU75RdPE/ir1hk+lN06ZGmOh7oWoQFW+WxnOi1hpL7UektmfS
+Ze4lwfRdUx4EGV6kAG7kL0NvAXnxqf5wj9j1WFm8nmIDDehCVSd2BbvdA6m3GL0
Rwdms5Z9ZXFDys1xuTWTet7ZicLhvyMYbiwpkCC6BoBFmyKr21duMeN9V4EsPfeQ
ssAYNEVFILCnyqNEd8c6eEcKfdV/uTdHD5Ad2UhxAELesTRHeQfmoNVO47N0Y4s6
oquc3riWNYfbQOTJSQGO4ZDH9Ig5PlnA5TWUk2lBDJYzpfQ7RZqroEj4DamzbDq2
xSm3T/NpZVrZ1TzGJBays60F+NCOQrSFpCzk8yz2Y7Vq4ijBFYq8nCNCd2bLZfqN
XlNLvBRn6nieR3DHoIq6DphXZL+a3W7sVzNG3M/sJuJCh+Hsht+CZI99huaXMHCU
mpmr36TBSp8PrRXfPS1ODgVhMcReyMrdB3dbLZCc2HidDqPlVyTZj1fp/OsWtCaY
NNjbtOaw4kcgT5CLcKZdvfd+cFXMH69OSSs+jCVcskwbmTyPOZVS8/p+gOFGGbio
BSF8MiBHE9Fa/bzYokXW
=2GeX
-----END PGP SIGNATURE-----
Bump version to v0.0.6

Signed-off-by: Jess Frazelle <acidburn@google.com>
2 files changed
tree: df1dad269709f05ae7562151b7164d5ffab0c52e
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Makefile
  5. README.md
  6. VERSION
  7. container/
  8. main.go
  9. vendor/
  10. version/
README.md

amicontained

Travis CI

Container introspection tool. Find out what container runtime is being used as well as features available.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/amicontained

Usage

$ amicontained -h
                 _                 _        _                _
  __ _ _ __ ___ (_) ___ ___  _ __ | |_ __ _(_)_ __   ___  __| |
 / _` | '_ ` _ \| |/ __/ _ \| '_ \| __/ _` | | '_ \ / _ \/ _` |
| (_| | | | | | | | (_| (_) | | | | || (_| | | | | |  __/ (_| |
 \__,_|_| |_| |_|_|\___\___/|_| |_|\__\__,_|_|_| |_|\___|\__,_|
 Container introspection tool.
 Version: v0.0.6

  -d	run in debug mode
  -v	print version and exit (shorthand)
  -version
    	print version and exit

Examples

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
Capabilities:
	BOUNDING -> chown dac_override fowner fsetid kill setgid setuid setpcap net_bind_service net_raw sys_chroot mknod audit_write setfcap

$ 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
Capabilities:
	BOUNDING -> chown dac_override fowner fsetid kill setgid setuid setpcap net_bind_service net_raw sys_chroot mknod audit_write setfcap

$ 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
Capabilities:
	BOUNDING -> chown dac_override fowner fsetid kill setgid setuid setpcap net_bind_service net_raw sys_chroot mknod audit_write setfcap

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
Capabilities:
	BOUNDING -> chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read