Code Monkey home page Code Monkey logo

Comments (13)

littleningmeng avatar littleningmeng commented on September 7, 2024 2

I pushed my image to docker hub.
you can try pull it from my repo.

docker pull qingweihe/docker_torchserve:latest

from animateddrawings.

littleningmeng avatar littleningmeng commented on September 7, 2024 1

您可以尝试在拉取图像之前登录到 docker hub

docker login
# enter you username and passwd

如果没有docker hub账号,可以尝试在docker中注册

image I've logged into my docker hub account and run your command, and I see that it should have worked, but why does the next command still say docker_torchserve cannot be found, I hope you can help me again to see if there is another solution, I'm doing this on windows and I've tried on ubuntu, but in the end I can't find docker_torchserve.

use command below for listing all of you local images

docker images

I guess you should use this command

docker run -d --name docker_torchserve -p 8080:8080 -p 8081:8081 qingweihe/docker_torchserve:latest

and maybe you will need to change another name after --name parameter

from animateddrawings.

gptbert avatar gptbert commented on September 7, 2024 1

the paltform of docker image linux/arm64? not linux/amd64? why?

docker pull qingweihe/docker_torchserve

from animateddrawings.

littleningmeng avatar littleningmeng commented on September 7, 2024

I got an error when running docker build.

 => ERROR [ 2/12] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y     c  16.4s
------
 > [ 2/12] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y     ca-certificates     curl     python3-pip     vim     sudo     default-jre     git     gcc     build-essential     && rm -rf /var/lib/apt/lists/*:
#7 10.22 Err:1 http://deb.debian.org/debian bullseye InRelease
#7 10.22   Connection failed [IP: 151.101.110.132 80]
#7 15.52 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#7 15.76 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#7 15.91 Get:4 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [233 kB]
#7 16.34 Get:5 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [12.0 kB]
#7 16.36 Fetched 337 kB in 16s (20.8 kB/s)
#7 16.36 Reading package lists...
#7 16.38 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease  Connection failed [IP: 151.101.110.132 80]
#7 16.38 W: Some index files failed to download. They have been ignored, or old ones used instead.
#7 16.39 Reading package lists...
#7 16.41 Building dependency tree...
#7 16.41 Reading state information...
#7 16.41 Package default-jre is not available, but is referred to by another package.
#7 16.41 This may mean that the package is missing, has been obsoleted, or
#7 16.41 is only available from another source
#7 16.41
#7 16.41 Package build-essential is not available, but is referred to by another package.
#7 16.41 This may mean that the package is missing, has been obsoleted, or
#7 16.41 is only available from another source
#7 16.41
#7 16.41 Package gcc is not available, but is referred to by another package.
#7 16.41 This may mean that the package is missing, has been obsoleted, or
#7 16.41 is only available from another source
#7 16.41
#7 16.41 Package python3-pip is not available, but is referred to by another package.
#7 16.41 This may mean that the package is missing, has been obsoleted, or
#7 16.41 is only available from another source
#7 16.41
#7 16.41 E: Package 'python3-pip' has no installation candidate
#7 16.41 E: Unable to locate package vim
#7 16.41 E: Package 'default-jre' has no installation candidate
#7 16.41 E: Package 'gcc' has no installation candidate
#7 16.41 E: Package 'build-essential' has no installation candidate
------
executor failed running [/bin/sh -c apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y     ca-certificates     curl     python3-pip     vim     sudo     default-jre     git     gcc     build-essential     && rm -rf /var/lib/apt/lists/*]: exit code: 100

from animateddrawings.

littleningmeng avatar littleningmeng commented on September 7, 2024

finally, I solved this problem with my VPN network……

from animateddrawings.

wimi321 avatar wimi321 commented on September 7, 2024

I have the same problem, how did you fix it? Did you set up a global VPN on the router?

from animateddrawings.

littleningmeng avatar littleningmeng commented on September 7, 2024

I have the same problem, how did you fix it? Did you set up a global VPN on the router?

Yes, I used a global VPN.
Maybe I can push my image to docker.io later.

from animateddrawings.

wimi321 avatar wimi321 commented on September 7, 2024

Thank you very much. I'm too busy with work and haven't had time to build a global VPN ....

from animateddrawings.

yxf1213 avatar yxf1213 commented on September 7, 2024

I pushed my image to docker hub. you can try pull it from my repo.

docker pull qingweihe/docker_torchserve:latest

Hi, I use your repo and no error is reported, but after executing the next docker run command, it still prompts that docker_torchserve cannot be found, I wonder if you can help to solve this problem, thank you very much.
The error message is as follows
(animated_drawings) C:\Users\yxf.conda\envs\animated_drawings\AnimatedDrawings\torchserve>docker run -d --name docker_torchserve -p 8080:8080 -p 8081:8081 docker_torchserve
Unable to find image 'docker_torchserve:latest' locally
docker: Error response from daemon: pull access denied for docker_torchserve, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

from animateddrawings.

littleningmeng avatar littleningmeng commented on September 7, 2024

you can try to login to docker hub before pull the image

docker login
# enter you username and passwd

if you don't have a docker hub account, you can try to register in docker

from animateddrawings.

yxf1213 avatar yxf1213 commented on September 7, 2024

您可以尝试在拉取图像之前登录到 docker hub

docker login
# enter you username and passwd

如果没有docker hub账号,可以尝试在docker中注册

image
I've logged into my docker hub account and run your command, and I see that it should have worked, but why does the next command still say docker_torchserve cannot be found, I hope you can help me again to see if there is another solution, I'm doing this on windows and I've tried on ubuntu, but in the end I can't find docker_torchserve.

from animateddrawings.

yxf1213 avatar yxf1213 commented on September 7, 2024

您可以尝试在拉取图像之前登录到 docker hub

docker login
# enter you username and passwd

如果没有docker hub账号,可以尝试在docker中注册

image I've logged into my docker hub account and run your command, and I see that it should have worked, but why does the next command still say docker_torchserve cannot be found, I hope you can help me again to see if there is another solution, I'm doing this on windows and I've tried on ubuntu, but in the end I can't find docker_torchserve.

use command below for listing all of you local images

docker images

I guess you should use this command

docker run -d --name docker_torchserve -p 8080:8080 -p 8081:8081 qingweihe/docker_torchserve:latest

and maybe you will need to change another name after --name parameter

Thank you very much, the problem has been solved, only the next command still reports an error, I have opened a new thread to see if there are partners who have encountered the same problem, thank you again!

from animateddrawings.

hjessmith avatar hjessmith commented on September 7, 2024

Because I developed this on a Macbook Pro with M1 chip.

from animateddrawings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.