Implement hoster vm deploy --from-docker-compose
flag
#81
Labels
new feature
Label to apply to new features development
hoster vm deploy --from-docker-compose
flag
#81
hoster vm deploy --from-docker-compose /root/nextcloud/docker-compose.yaml
will help you start anydocker
workload in seconds on top of a Debian Stable VM (FreeBSD doesn't natively supportdocker
).Here is outline of the process behind the scenes:
docker-compose.yaml
file to the local file system onHoster
node itselfhoster vm deploy --from-docker-compose /root/nextcloud/docker-compose.yaml
, pointing to your localdocker-compose.yaml
fileHoster
will deploy a custom VM, based on top of Debian Stable, withdocker
anddocker-compose
pre-installedHoster
will mount a folder within the VM itself, usingVirtIO 9P
docker-compose.yaml
file will be copied into that folderdocker-compose.yaml
on the first bootdocker-compose up
will be executed within atmux
session, so you can SSH into the VM and check what happened in the background usingtmux -a
docker-compose.yaml
will be copied to/root/hoster-docker-compose/docker-compose.yaml
P.S. try keeping all your
docker
volumes in./
for maximum data locality, so in case you'd need to migrate yourdocker-compose
deployment to a newer VM version (or another host) it will be very easy to do.The text was updated successfully, but these errors were encountered: