feat: add docker installer
- Add a new docker installer. - Includes functionality for installing, starting, stopping, and removing docker. Co-authored-by: mariobassem12 <mariobassem12@gmail.com> Co-authored-by: omda <mahmmoud.hassanein@gmail.com>
This commit is contained in:
11
examples/installers/docker.vsh
Executable file
11
examples/installers/docker.vsh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env -S v -n -w -gc none -no-retry-compilation -cc tcc -d use_openssl -enable-globals run
|
||||
|
||||
import freeflowuniverse.herolib.installers.virt.docker as docker_installer
|
||||
|
||||
mut docker := docker_installer.get()!
|
||||
|
||||
// To install
|
||||
docker.install()!
|
||||
|
||||
// To remove
|
||||
docker.destroy()!
|
||||
Reference in New Issue
Block a user