[Haskell-cafe] Static executables in minimal Docker containers
Greg Weber
greg at gregweber.info
Mon Apr 13 16:09:42 UTC 2015
Haskell is not that great at producing statically linked libraries
independent of the OS.
The issue you are running into would likely show up in another non-ubuntu
image (or even possibly a different version of an ubuntu image), so you
could probably use a Fedora image that has tracing.
How are you addressing the linker warning about needing a particular glibc
version at runtime?
On Mon, Apr 13, 2015 at 3:28 AM, Sharif Olorin <sharif.olorin at gmail.com>
wrote:
> Unfortunately, strace and ltrace aren't available in that Docker image,
>> but it's a good idea to see if I can get them running there somehow.
>>
>
> Failing that, you might be able to get useful information of the same kind
> by running docker (the server, not the `docker run` command) under perf[0]
> and then running your busybox container. It should at least give you an
> idea of what it's doing when it explodes.
>
> Sharif
>
> [0]: https://perf.wiki.kernel.org/index.php/Tutorial
>
> --
> You received this message because you are subscribed to the Google Groups
> "Commercial Haskell" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to commercialhaskell+unsubscribe at googlegroups.com.
> To post to this group, send email to commercialhaskell at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/commercialhaskell/86ca2603-37f2-4645-9cd2-f09703f2be67%40googlegroups.com
> <https://groups.google.com/d/msgid/commercialhaskell/86ca2603-37f2-4645-9cd2-f09703f2be67%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150413/f3dba812/attachment.html>
More information about the Haskell-Cafe
mailing list