Files
herolib/lib/installers/virt/docker/readme.md
root 0f095a691d 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>
2025-01-28 16:17:33 +01:00

627 B

docker

To get started



import freeflowuniverse.herolib.installers.something.docker as docker_installer

heroscript:="
!!docker.configure name:'test'
    password: '1234'
    port: 7701

!!docker.start name:'test' reset:1 
"

docker_installer.play(heroscript=heroscript)!

//or we can call the default and do a start with reset
//mut installer:= docker_installer.get()!
//installer.start(reset:true)!




example heroscript

!!docker.configure
    homedir: '/home/user/docker'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888