[systemd-devel] How to deploy systemd-nspawn containers and use for deployment

Lennart Poettering lennart at poettering.net
Wed Oct 19 22:43:29 UTC 2016


On Thu, 13.10.16 10:22, Samuel Williams (space.ship.traveller at gmail.com) wrote:

> I'm not sure if this belongs in machinectl, but it would be interesting to
> explore some kind of deployment mechanism. e.g. machinectl deploy
> local-container-name ssh://remote-server:container-name because I'm sure
> this is going to be a really common use case, and there are enough details
> (e.g. stopping and starting the remote machine) that it would be nice to
> keep it easy for new users.

There's a TODO list item somewhere, to add "machinectl migrate
$CONTAINER $HOST" which would basically be a combination of
"export-tar"  locally, then an ssh link, and an "import-tar"
remotely or so.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list