Git Product home page Git Product logo

Comments (4)

aronatkins avatar aronatkins commented on July 4, 2024

It appears as if you are using the "connect-content-init" directory, which defines an init container and not a general-purpose RStudio Connect image.

Please use the "connect" directory as an example when building your own Dockerfile and Docker image.
https://github.com/rstudio/rstudio-docker-products/tree/main/connect

The "connect" directory is used to build the rstudio/rstudio-connect images, hosted on Docker Hub here: https://hub.docker.com/repository/docker/rstudio/rstudio-connect

from rstudio-docker-products.

devivaraprasad901 avatar devivaraprasad901 commented on July 4, 2024

Hi Aronatkins,

Could you please help me to resolve the below error.

=> => exporting layers 15.1s
=> => writing image sha256:e4e6394a3eef053fa00f5eedc88192a822b05d90c17566b01f68084ecf4fefa1 0.0s
=> => naming to docker.io/rstudio/rstudio-server-pro:1.4.1717-3 0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
WARNING: Image for service rstudio-server-pro was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build.
Building rstudio-connect
[+] Building 6.5s (3/3) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 2.58kB 0.0s
=> [internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> ERROR [internal] load metadata for docker.io/rstudio/r-base:3.6.2-bionic 6.0s

[internal] load metadata for docker.io/rstudio/r-base:3.6.2-bionic:


failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/rstudio/r-base/blobs/sha256:c437c12769cd0f9d2b80a030b2184fcb11eb46d4969fc4f1441d505f30160514: 502 Bad Gateway
ERROR: Service 'rstudio-connect' failed to build : Build failed
PS C:\Users\Devivaraprasad_Varap\Documents\argomlops_iris\rstudio-docker-products-main>

from rstudio-docker-products.

aronatkins avatar aronatkins commented on July 4, 2024

Is that error repeatable?

The 502 Bad Gateway HTTP error usually indicates that some gateway or proxy server is having trouble talking with some upstream server. In this case, it is probably either a service disruption with the Docker registry or a corporate proxy.

As of right now, the Docker status page is not showing indication of service problems: https://status.docker.com

Explanation of the HTTP 502 status code: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502

from rstudio-docker-products.

aronatkins avatar aronatkins commented on July 4, 2024

@devivaraprasad901 - please reach out to [email protected] if you need additional assistance getting started with custom Docker images.

from rstudio-docker-products.

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.