mirror of
https://github.com/chenasraf/sofmani.git
synced 2026-05-17 17:28:04 +00:00
fix(docker): fix pull command
This commit is contained in:
@@ -71,7 +71,7 @@ func (i *DockerInstaller) Update() error {
|
||||
containerName := i.GetContainerName()
|
||||
|
||||
logger.Debug("Pulling updated image: %s", image)
|
||||
if err := i.RunCmdPassThrough(fmt.Sprintf("docker pull %s", image)); err != nil {
|
||||
if err := i.RunCmdPassThrough("docker", "pull", image); err != nil {
|
||||
return fmt.Errorf("failed to pull image: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user