genuinetools / riddler

A tool to convert docker inspect to the opencontainers runc spec.
MIT License
253 stars 21 forks source link

update deps and specs #17

Closed jessfraz closed 6 years ago

jessfraz commented 7 years ago

closes #16

@pwFoo can you verify this works

pwFoo commented 7 years ago

Hi @jessfraz,

I cloned the branch and built the docker image. Get the following error if I execute riddler:

[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x560a3f8c4c2c]

goroutine 1 [running]:
panic(0x560a3fd022a0, 0xc420012060)
    /usr/lib/go/src/runtime/panic.go:500 +0x1a5
github.com/jessfraz/riddler/parse.Config(0xc4202d02c0, 0x560a3fe848c8, 0x0, 0x0, 0xc420316000, 0xc420318000, 0x560a3fa63d5b, 0x5, 0x560a3fa63cb1, 0x5, ...)
    /go/src/github.com/jessfraz/riddler/parse/config.go:261 +0xecc
main.main()
    /go/src/github.com/jessfraz/riddler/main.go:163 +0x17c
cyphar commented 7 years ago

@jessfraz Maybe you want to swap to OCI's runtime-tools (https://github.com/opencontainers/runtime-tools) which provides a library to generate runtime configurations meaning you won't have to write all of the management code yourself.

jessfraz commented 7 years ago

yeah thats a good idea

On Fri, Apr 21, 2017 at 12:05 PM, Aleksa Sarai notifications@github.com wrote:

@jessfraz https://github.com/jessfraz Maybe you want to swap to OCI's runtime-tools (https://github.com/opencontainers/runtime-tools) which provides a library to generate runtime configurations meaning you won't have to write all of the management code yourself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jessfraz/riddler/pull/17#issuecomment-296232567, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYNbOYgXyLxB32_6tKobMgrZ3zhkCO_ks5ryNO8gaJpZM4NB12W .

--

Jessie Frazelle 4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3 pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

cyphar commented 7 years ago

If you want, I can write up a PR for this in the coming days.

jessfraz commented 7 years ago

whoa thanks yeah!

On Fri, Apr 21, 2017 at 3:51 PM, Aleksa Sarai notifications@github.com wrote:

If you want, I can write up a PR for this in the coming days.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jessfraz/riddler/pull/17#issuecomment-296290662, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYNbPcz1K6M3y2DruLmEUEu9LMy3XrDks5ryQjVgaJpZM4NB12W .

--

Jessie Frazelle 4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3 pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3