singnet / dev-portal

The SingularityNET Developer Portal where you can find all our documentation, tutorials, and developer resources!
https://dev.singularitynet.io
114 stars 57 forks source link

Docker image doesn't produce app image, #100

Closed LWFlouisa closed 4 years ago

LWFlouisa commented 4 years ago

Does the docker image require sign in to the Docker website itself? Or is the image file in some hidden location other than the folder I made for it?

vsbogd commented 4 years ago

Docker website account is not required to run docker image. Docker pulls (downloads) image and keeps it locally, by default under /var/lib/docker directory.

vsbogd commented 4 years ago

Am I right that you are not able to run docker image? Could you please clarify which image do you mean and share steps which you are using to run it?

LWFlouisa commented 4 years ago

Yea I'm specifically having trouble running the docker image for snet-cli.

vsbogd commented 4 years ago

Do you mean you are trying to run this image: https://hub.docker.com/r/singularitynet/snet-platform? If you are trying to follow some specific tutorial please share the link to the tutorial.

LWFlouisa commented 4 years ago

Yea I tried running that one, and got this error:

Using default tag: latest latest: Pulling from singularitynet/snet-platform Digest: sha256:175794bb5f66936b8652b73da9cedebd556932b95516cd71627296bc7050db8b Status: Image is up to date for singularitynet/snet-platform:latest

Then tried running it:

Unable to find image 'snet-platform:latest' locally docker: Error response from daemon: pull access denied for snet-platform, repository does not exist or may require 'docker login'. See 'docker run --help'.

vsbogd commented 4 years ago

-t and -i options are required to run docker interactively in terminal. The following command should work:

sudo docker run -ti singularitynet/snet-platform
LWFlouisa commented 4 years ago

Alright got it I think.

vsbogd commented 4 years ago

Can we close this?