dockerhub

Docker's Python SDK "container.start()" exit immediately

Docker's Python SDK "container.start()" exit immediately Question: I want to create a docker container via the docker’s Python SDK. The bash equivalence (which works on the cli) of what I am trying to achieve is as follows. (the image entry point is /bin/bash) docker container create –name <container_name>-i –mount source=<src>,target=/project_data <image_name> docker container start -i …

Total answers: 1

Docker : exec /usr/bin/sh: exec format error

Docker : exec /usr/bin/sh: exec format error Question: Hi guys need some help. I created a custom docker image and push it to docker hub but when I run it in CI/CD it gives me this error. exec /usr/bin/sh: exec format error Where : Dockerfile FROM ubuntu:20.04 RUN apt-get update RUN apt-get install -y software-properties-common …

Total answers: 4