about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/docker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docker.go b/src/docker.go
index 51e1d81..b56c811 100644
--- a/src/docker.go
+++ b/src/docker.go
@@ -91,12 +91,12 @@ func spawnCompanion(username string, accesscode string) {
 	log.Println("Creating the container")
 
 	// create the docker container
-	resp, err := dockerCLI.ContainerCreate(dockerCtx, Config, HostConfig, nil, "")
+	resp, err := dockerCLI.ContainerCreate(dockerCtx, Config, HostConfig, NetworkingConfig, "")
 	if err != nil {
 		panic(err)
 	}
 
-	log.Println("Container started!")
+	log.Println("Container created!")
 
 	// id of the created container
 	containerID := resp.ID