added possibility to create multiple ports

This commit is contained in:
2021-04-07 20:55:37 +04:00
parent 82f5e921b5
commit 8d417b84f5
4 changed files with 54 additions and 49 deletions

View File

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