This message was deleted.
# announcements
s
This message was deleted.
b
can you share more info on this?
g
Thanks!
When I work with docker in this server, I need to configure the http proxy
So, with bento I am getting this:
bentoml containerize BentoServiceTelefonicaRiesgo:latest -t telefonica-riesgo [2021-05-26 122502,063] INFO - Getting latest version BentoServiceTelefonicaRiesgo:20210526122454_CAFD41 Found Bento: /home/SVC_S_HELA/bentoml/repository/BentoServiceTelefonicaRiesgo/20210526122454_CAFD41 Containerizing BentoServiceTelefonicaRiesgo:20210526122454_CAFD41 with local YataiService and docker daemon from local environment\[2021-05-26 122517,696] ERROR - Encounter container building issue: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) [2021-05-26 122517,699] ERROR - RPC ERROR ContainerizeBento: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Error: bentoml-cli containerize failed: Failed to containerize BentoServiceTelefonicaRiesgo:20210526122454_CAFD41 - INTERNAL:Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
g
Ok it seems that registry-1.docker.io is not longer in the proxy whitelist
What images could I manually upload to the server in order to bentoml containerize command could go forward?
b
What images could I manually upload to the server
I am not exactly sure what you mean here, can you explain a little more?
g
I could do a docker pull on another server and upload via scp the images I need to containerize the model, or am I wrong? at the end bentoml uses docker and it uses images. One way is to download them directly from a registry but also I could import the images into the server with the docker import command
Sorry, I mean, with docker load
Copy code
docker --help | grep -E "(export|import|load|save)"
  export      Export a container\'s filesystem as a tar archive
  import      Import the contents from a tarball to create a filesystem image
  load        Load an image from a tar archive or STDIN
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
I already configured the proxy,now I can pulll images but I still get an error
verbose flag does not show more details
Copy code
Error: bentoml-cli containerize failed: Failed to containerize BentoServiceTelefonicaRiesgo:20210526122454_CAFD41 - INTERNAL:The command '/bin/sh -c ./bentoml-init.sh install_pip_packages' returned a non-zero code: 1