简体   繁体   中英

Docker run hello-world not working

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM