Category : rest

Good afternoon, I’m looking for help setting up s3 storage scality / s3server I haven’t worked with this type before I deployed this repository to the docker hub, wrote an integration for uploading a file (image) to the repository, but following the link http://127.0.0.1:8000/images/1.png I get <Error> <Code> AccessDenied </Code> <Message> Access Denied </Message> <Resource ..

Read more

Is there a way to create a temporary job cluster with a custom Docker image in Azure Databricks? I can only find information on creating normal clusters with the Docker service. My job definition json I want to send to the azuredatabricks.net/api/2.0/jobs/create API looks like following: { "databricks_pool_name": "test", "job_settings": { "name": "job-test", "new_cluster": { ..

Read more

ISSUE: I have a docker image running for neo4j and one for express.js. I cant get the docker images to communicate between eachother. I can run neo4j desktop, start a nodemon server and they will communicate. SETUP: NEO4J official docker image NEO4J_AUTH none PORTS localhost:7474 localhost:7687 Version neo4j-community-4.3.3-unix.tar.gz NODEJS Image PORTS 0.0.0.0:3000 :::3000 Version 14.17.5 ..

Read more

I’m using api python kuberntes and call read_namespaced_job_status multiple time to get status of job. However, approximately in 250 times to called the api, appears the follow message **Reason: Unauthorized HTTP response headers: HTTPHeaderDict({‘Cache-Control’: ‘no-cache, private’, ‘Content-Type’: ‘application/json’, ‘Date’: ‘Sun, 25 Jul 2021 12:27:11 GMT’, ‘Content-Length’: ‘129’}) HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401} ** def status(job_name): status ..

Read more

I am working on one requirement for my project I need to build a REST service in GO which takes *.tar.gz as input also I need to use this data to load the image using go client for docker engine. I am using below code to achieve this . r := mux.NewRouter() r.HandleFunc("/api/upload", doUpload).Methods("POST").Headers("content-type", "application/octet-stream") ..

Read more

I am in the following situation: I have created a small express.js application with an Alive endpoint, as following: app.get("/", (req, res) => { res.status(200).send({ message: "Alive" }); }); app.listen(5000, ‘0.0.0.0’, () => { logger.info("Running on ECR through Fargate") }); I have successfully created a Docker image via my Dockerfile: FROM node:14 EXPOSE 5000 WORKDIR ..

Read more