v0.6.2
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAltMxlYACgkQGPNoXAAi
v/OpLg/+OXHQdLwJBi3GeMhe1yXoPoLxmIO8yqbpHipZY6AnoqOg2E070CUuAAlH
ltBhg5I0LGoACzRj9C8icJQS4H2CGtTNxi4pwWbyS9cCqhdtOsJ1i7EbCCx1zdhr
R4Vm7KPZ4BG+u4I7eibaWOwIh/5VFCstdDkiUyamPRceKrzP68j9ugoUg1a6C9/6
IOPdZjz3+6rnLrDm5voJ9MUvNaSJMO7IFhfo2ImXtX4JxngkfQx3v08E+xwlVnJO
0znbNi0M5XUn/Rf5U9yALwv+oJeFEXqnGIx/XLOMCCsmjKNVF4pstHK9Cz0csCW6
9QK+5E+H0FV3UNZfdXtWQNxEP0Irbu0gVhnnjqwMt2evuUbmXiBxLHABI+meNN3V
Qwu61pbzNZsxSqgMYZIXphPAze3IHg6LMQgmpBTXp/sUCkB3uRxu+xEdfB3yYuDF
xnG8ibbOD370118tVa329/f41yFefAivu1DTRC+jb3qFFD5WwAKQrRqEb0OxT8+u
0K8NGvnUxhcnfqel4YpWklrNZAgzGfLlrb4ikmweLrMoyJjKmm62bsFW1DV/XdHY
8T9CJbwNYBSRFp3k3R5DoswSJi6trXu4yJidnGwNSqgixkm79QWBZc8kqwHV7HiW
ZvysHn3RP10y8b4A6Lye+vsEveB81PZbEy3AZXOa9dUZ4rlenew=
=EGzu
-----END PGP SIGNATURE-----
Bump version to v0.6.2

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 file changed
tree: f89fda4e15ecbadda9d7bc0ae6e00e2659241b62
  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. main.go
  13. parse/
  14. vendor/
  15. 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