Distrobuilder documentation?


(Stephan) #1

The Distrobuilder examples are really helpful, however I’m curious about features the examples aren’t using.

For instance, emulating the Docker style “entrypoint” into the container - is this something that can be set on the distrobuilder level?


(Stéphane Graber) #2

There’s no way to set that in LXD because it really only does system containers where that doesn’t apply.
For LXC containers, you could set a lxc.init.cmd entry in the LXC config in your distrobuilder yaml.

Of course you can also use an action to just replace /sbin/init with whatever you want in the container.