added code to detect docker containers

This commit is contained in:
2021-06-09 16:43:59 +04:00
parent 4141f1c575
commit 8466e2d1ca
6 changed files with 84 additions and 12 deletions

View File

@@ -19,8 +19,7 @@ type Docker struct {
// Starts container using RPC calls
func (l *Listener) StartContainer( reply *Docker) error {
fmt.Print("here")
vm, err := docker.BuildRunContainer(3,"false")
vm, err := docker.BuildRunContainer(3,"false","")
if err != nil {
return err
}