Added prepull.

This commit is contained in:
rony5394
2026-04-27 15:16:24 +02:00
parent 32069f7e9d
commit 7214e26168
7 changed files with 141 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ func Run(Config cfg.Config) {
sshKeyPair := shared.GenerateSSHKeypair();
sshHostPkPem := exchangeKeys(Config, string(sshKeyPair.Public));
go prepullImage(Config);
createStorageContainer(Config, DockerClient, sshKeyPair.Private, sshHostPkPem);
services := getServices(Config);