Questions tagged sdk

Explore the latest questions and answers asked by our top developers.

How do I set the "mounts" option in the "create_host_config" to mount a Windows UNC path (or lettered path) network drive within the Docker SDK?

Any and all help appreciated! I’m specifically trying to use the DockerRun flow configuration within a Prefect flow. The DockerRun flow config uses "create_host_config" of the python Docker SDK. If I mount a local path, the Docker Agent has no problem binding and reading/writing to the path. However, when I pass a network path, I […]

By user8359348
Categorised as docker, prefect, sdk, windows Tagged , , ,

Asp.Net core Docker image build failed(app/out not found)

i have a problem building an image from an existing core project. Here is my root directory And here is the code from my Docker file FROM AS build-env WORKDIR /app COPY *.csproj ./ RUN dotnet restore COPY . ./ RUN dotnet publish -c Release -o out FROM WORKDIR /app COPY –from=build-env […]

By Tyr
Categorised as,, docker, dockerfile, sdk Tagged , , , ,

No container running for id xxxxxx when running apache beam go sdk examples

I want to run grades example proposed by apache beam go sdk using spark runner. However I get the following error. I do not figure the main problem because ssh and docker are installed and running. java.lang.IllegalStateException: No container running for id 3b1aa5852a3b7dcdd675fe4f10b02a199fd958636f at$Segment.get( at at at “` Source: Docker Questions

By lpad ze
Categorised as apache-beam, apache-spark, docker, go, sdk Tagged , , , ,

Developer Package missing in .NET SDK5 docker image

I am trying to publish a c# project via docker image ( In one of the *.csproj files is a definition like <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> I am getting the following error /usr/share/dotnet/sdk/5.0.301/Microsoft.Common.CurrentVersion.targets(1216,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or […]

By systemNEO
Categorised as .net, c#, docker, linux, sdk Tagged , , , ,

Dotnet test failed (vstest.console connect timeout) in docker

During the dotnet test, an error always appears, while there is no such error on any other servers/computers Windows: OS Name: Microsoft Windows Server Standard OS Version: 10.0.17134 N/A Build 17134 Docker: Docker version 20.10.5, build 105e9a6 Example: [email protected] C:Usersdevuser>docker run -it –rm Microsoft Windows [Version 10.0.17134.1069] (c) 2018 Microsoft Corporation. All rights reserved. […]

By qwsj
Categorised as .net, docker, sdk, windows Tagged , , ,

python sdk hyperledger connection throughs "failed to connect to all addresses"

I am facing a problem while connecting to an hyperledger network from a docker container . i have Hyperledger fabric 1.4 installed on a virtual machine in wich i have a docker container with a fabric python sdk . I added crypto-config and a network.json wich describes the network nodes in my project directory . […]

By Hana CH
Categorised as docker, grpc, hyperledger-fabric, python, sdk Tagged , , , ,

goland docker sdk. Filter tasks list with struct

I’m trying to write a script in golang to output filtered tasks in docker swarm. Docker sdk golang ref – Im want to filter tasks by image or id, nvm. My unsuccessful attempt is below package main import ( "context" "fmt" "" "" "" ) func main() { cli, err := client.NewEnvClient() if err […]

By Boop Boobeep
Categorised as docker, go, sdk Tagged , ,

How to compile an android project with an docker android sdk image?

So what I am trying to do is compile an Android project that is located in my local machine with an android sdk that is located in and docker image, but i don’t know how to use correctly the command to run it. First I pull the image from docker-hub with the following command: docker […]

By Mario Muresean
Categorised as android, docker, dockerfile, sdk Tagged , , ,

Docker SDK python – notification on container spawn and cpu_load

I am writing a microservice in python. It should connect to the docker swarm using Docker SDK for Python and monitor specific service containers’ numbers, IP addresses, and CPU usage (passive load-balancer). Questions: Is it possible to get notification of containers crash, spawning, stoping, etc., or is it necessary to poll for the changes? […]

By Petr Synek
Categorised as docker, python, sdk, swarm Tagged , , ,

Specify platform when building a docker container via Docker SDK for Python

I’m trying to build an Alpine-based NGINX Docker image on a Raspberry Pi 4 running Ubuntu 20.04 LTS (64 bit). Since I also have an older Raspberry Py 3 which is running on Raspbian (32 bit), I want that image to be a 32 bit version, which is why I specify FROM arm32v7/alpine:3.13 in the […]

By Daniel F
Categorised as docker, docker-image, python, sdk Tagged , , ,
1 3

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us