[lxc-users] dockerfile equivalent in LXC

Ranjib Dey dey.ranjib at gmail.com
Tue Oct 4 15:42:30 UTC 2016


I have built something similar https://github.com/pagerduty/nut,
its bit buggy, and needs some more love (AST parser from docker & better
file copy, fuidshift logic).
I dont know if anything else is out there, but you can go pretty close by
just using `lxc-attach -n -- /bin/bash`and siphoning a bash script.
regards
ranjib

On Tue, Oct 4, 2016 at 8:13 AM, Barve, Yogesh Damodar <
yogesh.d.barve at vanderbilt.edu> wrote:

> For creating  a docker container one can use dockerfile to specify all the
> required software installation packages and initialization, entrypoint
> directory and entrypoint command.
> What will be the equivalent in the LXC world? How can one specify
> - the required packages for installations,
> - workdirectory,
> - entrypoint command,
> - ports to expose and
> - volumes to mount in LXC?
>
> Thanks in advance.
>
> -Yogesh
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161004/7a2bf861/attachment.html>


More information about the lxc-users mailing list