Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull function not working #27

Open
cnrzhn opened this issue Sep 11, 2022 · 1 comment
Open

pull function not working #27

cnrzhn opened this issue Sep 11, 2022 · 1 comment

Comments

@cnrzhn
Copy link

cnrzhn commented Sep 11, 2022

I am trying to run this code but it's not working,
I can run docker-compose.yml with docker cli without any problem.

var Dockerode = require('dockerode');
var DockerodeCompose = require('dockerode-compose');

var docker = new Dockerode();
var compose = new DockerodeCompose(docker, 'docker-compose.yml', 'test_hello');

(async () => {
  await compose.pull();
  var state = await compose.up();
  console.log(state);
})();

if I do like that
await compose.pull(null, { verbose: true });
it's working.
what is the problem ??

@AndreasHeine
Copy link
Contributor

what is the log output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants