diff --git a/service/exec/exec.go b/service/exec/exec.go index 46351ca..0608a81 100644 --- a/service/exec/exec.go +++ b/service/exec/exec.go @@ -78,7 +78,7 @@ func (dc *dockerContainer) CreateAndStartContainer() error { // Create a container that runs `tail -f /dev/null` to keep it alive resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{ - Image: "debian", + Image: "python:3.13", Cmd: []string{"tail", "-f", "/dev/null"}, // Keep container running Tty: true, }, hostConfig, networkConfig, nil, "") @@ -160,7 +160,7 @@ func (dc *dockerContainer) RestartAndCleanContainer() error { // Recreate the container with the same resource limits resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{ - Image: "debian", + Image: "python:3.13", Cmd: []string{"tail", "-f", "/dev/null"}, Tty: true, }, &container.HostConfig{