mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
compose pull skip local images
Updating compose pull command with a switch that skips local images. Otherwise error message is: Error response from daemon: pull access denied for <repo>, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
This commit is contained in:
parent
c7ea2f9ee9
commit
7f670e16af
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ export class Stack {
|
|||
|
||||
async update(socket: DockgeSocket) {
|
||||
const terminalName = getComposeTerminalName(socket.endpoint, this.name);
|
||||
let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "pull" ], this.path);
|
||||
let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "pull", "--policy", "missing" ], this.path);
|
||||
if (exitCode !== 0) {
|
||||
throw new Error("Failed to pull, please check the terminal output for more information.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue