Skip to content

Commit

Permalink
fix creating contairer
Browse files Browse the repository at this point in the history
  • Loading branch information
William-De71 committed Oct 31, 2024
1 parent 09bda7f commit cdb73a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/lib/system/system.updateContainers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ async function updateContainers() {
await this.pull(watchtowerImage);

try {
// dockerode.
const container = await this.createContainer({
const container = await this.dockerode.createContainer({
Image: watchtowerImage,
Cmd: ['--run-once', '--cleanup', '--include-restarting'],
HostConfig: {
Expand Down

0 comments on commit cdb73a0

Please sign in to comment.