fix: fix docker image reference
This commit is contained in:
parent
5ee7dd5f8d
commit
2efcdc942b
@ -78,7 +78,7 @@ func (dc *dockerContainer) CreateAndStartContainer() error {
|
|||||||
|
|
||||||
// Create a container that runs `tail -f /dev/null` to keep it alive
|
// Create a container that runs `tail -f /dev/null` to keep it alive
|
||||||
resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{
|
resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{
|
||||||
Image: "debian",
|
Image: "python:3.13",
|
||||||
Cmd: []string{"tail", "-f", "/dev/null"}, // Keep container running
|
Cmd: []string{"tail", "-f", "/dev/null"}, // Keep container running
|
||||||
Tty: true,
|
Tty: true,
|
||||||
}, hostConfig, networkConfig, nil, "")
|
}, hostConfig, networkConfig, nil, "")
|
||||||
@ -160,7 +160,7 @@ func (dc *dockerContainer) RestartAndCleanContainer() error {
|
|||||||
|
|
||||||
// Recreate the container with the same resource limits
|
// Recreate the container with the same resource limits
|
||||||
resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{
|
resp, err := dc.Client.ContainerCreate(dc.Ctx, &container.Config{
|
||||||
Image: "debian",
|
Image: "python:3.13",
|
||||||
Cmd: []string{"tail", "-f", "/dev/null"},
|
Cmd: []string{"tail", "-f", "/dev/null"},
|
||||||
Tty: true,
|
Tty: true,
|
||||||
}, &container.HostConfig{
|
}, &container.HostConfig{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user