Docker run hello-world not working

2019-06-08 03:55发布

问题:

I've installed Docker following exactly the documentation on the website but when I try to run docker run hello-world, I get the following output from the terminal:

Saved file tree to doc-filelist.js
Copied JS to doc-script.js
Compiled CSS to doc-style.css

Does anybody have an idea what is going wrong?

回答1:

Is it possible that you have docker.js installed locally?

The output from your command looks like the docker.js docker executable is called instead of the Docker container one.

The log messages that you showed can be found in the docker.js documentation, it looks like you're running that instead of the one you want.

If this is the issue run npm uninstall -g docker



标签: docker