v0.6.3
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAluqR7IACgkQGPNoXAAi
v/OsShAAmqDtitu7BMO+N5g0FH4tB3JckBIBTYN4HHlwIsxPcAlxOtqTazEtcdPT
JlOpmXzIc7pgYCTOluYk1WnnIuTM1AUyITZWIDecInv+GlFqbU5dllZdqjwMkBUJ
G0Xw5gNGM3zZ8OwsJ3XBiVuZzXudpuDdVSArBikj6NBjnpUxdQu14AG9w0FfexGd
EBVfEM0aRDG0R+dhErhPodp0ywyQLmSKc1+4O/KCpPMx2oNBQX1m880GJw08HIJU
KvExhIcBQfuXbjm86O3m2nioiJ2D5hWwlAHoPzGvLEw3khrlyPw9dRmSNPY0y2cI
D0jSBZaHz72Ep7zV/0d05RpOY4vhawucSx30BYt4zOFxbh+/eJQntZMg9qpKkulr
WC4bM3ZJnrC/UnS993TCqqDol/4duXELHcIXbRDeaY9l1h08gnLNdzdOiiAjyfyJ
wGSCMotCPYpxtQeIMbtVzrND1KtNWHhgmOIJMfEOblo/TlN8vAUMNI0YCK14krvF
Gnr7uJVrYV0D6GvBy4HcqihQlPZy96rLBIi1+nfQSnxlyxvUaCO+Li0t0p046bmH
BKnrfhPXk4f9w+ESAJuml4Cl0cf6p//O1jel9OenLijBuLa2zZ51KH0fdSwsmApu
f8KP4h8lu3Dl/TYyoYyCfY9lpvSPaHxOsFNN/9tFrPDF2oof3lo=
=liX/
-----END PGP SIGNATURE-----
Bump version to v0.6.3

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 file changed
tree: 0eebda744f5a9f299d7fb27a8ee7de296efd5e5c
  1. .gitignore
  2. .goosarch
  3. .travis.yml
  4. .traviskey
  5. Dockerfile
  6. Gopkg.lock
  7. Gopkg.toml
  8. LICENSE
  9. Makefile
  10. README.md
  11. VERSION.txt
  12. basic.mk
  13. main.go
  14. parse/
  15. vendor/
  16. version/
README.md

riddler

Travis CI GoDoc Github All Releases

A tool to convert docker inspect to the opencontainers/specs and opencontainers/runc.

NOTE

This project is no longer maintained. If you are using a version of docker greater than 1.11 then you can just copy the config from /var/run/docker/libcontainerd like so:

$ docker ps -a
CONTAINER ID    CREATED             STATUS              PORTS               NAMES
d4da95779a3c    3 minutes ago       Up 3 minutes        80/tcp              modest_meitner

$ sudo tree /var/run/docker/libcontainerd -L 1
/var/run/docker/libcontainerd
├── containerd
├── d4da95779a3c287b28b421194f04374b6330e6ff10f5ca1a99d03828d84f1635
├── docker-containerd.pid
├── docker-containerd.sock
└── event.ts

$ sudo tree /var/run/docker/libcontainerd/d4da95779a3c.../
/var/run/docker/libcontainerd/d4da95779a3c.../
├── config.json
├── init-stderr
├── init-stdin
└── init-stdout

$ sudo file /var/run/docker/libcontainerd/d4da95779a3c.../config.json
/var/run/docker/libcontainerd/d4da95779a3c.../config.json: ASCII text, with very long lines

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/riddler

Usage

$ riddler -h
riddler -  A tool to convert docker inspect to the opencontainers runc spec.

Usage: riddler <command>

Flags:

  --host       Docker Daemon socket(s) to connect to (default: unix:///var/run/docker.sock)
  --idlen      Length of UID/GID ID space ranges for user namespaces (default: 0)
  --idroot     Root UID/GID for user namespaces (default: 0)
  --bundle     Path to the root of the bundle directory (default: <none>)
  -d           enable debug logging (default: false)
  -f, --force  force overwrite existing files (default: false)
  --hook       Hooks to prefill into spec file. (ex. --hook prestart:netns) (default: [])

Commands:

  version  Show the version information.

Installation

For seccomp and apparmor support you will need:

  • sys/apparmor.h
  • seccomp.h

OR to compile without those run:

$ make build BUILDTAGS=""

example

# just pass the container name or id on run

$ riddler chrome
config.json has been saved.

TODO

  • fixup various todos (mostly runtime config parsing)
  • add more unit tests for each field