Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

I have a setup that has more or less the following: devcontainer.json based on Docker Compose: { "name": "Frames API backend", "dockerComposeFile": [ &...
Destroy666's user avatar
  • 1,601
1 vote
1 answer
246 views

I manage to run Ollama as a k8s STS. I am using it for Python Langchain LLM/RAG application. However the following Dockerfile ENTRYPOINT script which tries to pull a list of images exported as MODELS ...
khteh's user avatar
  • 4,280
0 votes
0 answers
54 views

I would request your kind assistance about this weird issue. So basically I have a docker image, that starts with an entrypoint, which starts a loop to check an api with curl like this: ...
K4ryuu's user avatar
  • 1
0 votes
0 answers
101 views

I am trying to add a cronjob inside a distroless container that is running the application. It is either giving error or not running correctly. How can get this working as I want to create a cronjob ...
user28616306's user avatar
-1 votes
1 answer
181 views

I'm trying to build a custom Docker image using saucelabs/sauce-connect:5.2.0 as the base. I want to include a custom entrypoint.sh script that prints a message and then starts Sauce Connect with the ...
Casey Cling's user avatar
1 vote
1 answer
44 views

A Docker container running a (Windows) image will exit when its entrypoint (main) process exits. However what if the main process has started other processes before its own exit? Will the container ...
Jakob Bjerre Jensen's user avatar
0 votes
1 answer
149 views

I've got an AWS ECS service that includes several containers that are nearly identical. I've initially built this with a dockerfile for each image, and it works fine but the builds are really slow, ...
Tom Wilson's user avatar
1 vote
2 answers
667 views

I have a bash script that I want to dockerize but I'm having issues with both the ENTRYPOINT and CMD directives. Here's my Dockerfile: FROM ubuntu:22.04 # NOTE: these can be overridden with `--build-...
dokgu's user avatar
  • 6,200
1 vote
1 answer
944 views

I have read extensively about this mysterious lambda-entrypoint.sh. Apparently it is part of the lambda base image and neeeds to be referenced/invoked in the Dockerfile ? But I can not find a working ...
WestCoastProjects's user avatar
0 votes
1 answer
177 views

In my Dockerfile, I was previously using the following CMD so that the Apache server would launch and since it was running in the foreground, the container would remain running and I could kill it ...
Anil's user avatar
  • 2,551
0 votes
1 answer
239 views

I took the Kafka UI image (provectuslabs/kafka-ui:v0.7.1): https://hub.docker.com/layers/provectuslabs/kafka-ui/master/images/sha256-633606ca07677d1c4b9405c5df1b6f0087aa75b36528a17eed142d06f65d0881?...
Михаил Васильев's user avatar
4 votes
1 answer
2k views

Background I have a git repository with a Dockerfile inside as well as entrypoint.sh script. It is set to build a development container with a non-root user, see a (minimal, simplified) example below: ...
maciek's user avatar
  • 2,137
0 votes
1 answer
291 views

I took the Kafka UI image (provectuslabs/kafka-ui:v0.7.1): https://hub.docker.com/layers/provectuslabs/kafka-ui/master/images/sha256-633606ca07677d1c4b9405c5df1b6f0087aa75b36528a17eed142d06f65d0881?...
Михаил Васильев's user avatar
2 votes
0 answers
232 views

I'm trying to run an entrypoint script where it spawns a couple child processes (services), and I want docker stop or docker restart to propagate the SIGTERM to the children. However I cannot seem to ...
eroji's user avatar
  • 21
0 votes
2 answers
430 views

hello guys i finished working on my wso2 api manager configs and now i am trying to build a docker images i followed docs and created zip file of wso2 folder and copied the entrypoint and docker file ...
Kamel HTIRA's user avatar
0 votes
1 answer
156 views

I made the following script: #!/bin/bash set -e # Define the name of the additional database ADDITIONAL_DB_NAME="test_${MYSQL_DATABASE}" # Perform the initialization of the additional ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
240 views

I am working with a docker-compose file from freqtrade project. I made a docker-compose file with Dockerfile dependency. docker-compose.yml : --- version: '3' services: freqtrade: # image: ...
AliM67's user avatar
  • 150
2 votes
1 answer
274 views

Most entrypoint.sh files that are used to run the spark docker image contains a variable called SPARK_DRIVER_BIND_ADDRESS, for example this entrypoint.sh I'm not able to find what this property is ...
svg_af_2's user avatar
  • 135
3 votes
1 answer
4k views

I'm trying to run container in docker with windows 11. When I'm running docker compose up web server, it shows exec ./entrypoint.sh: no such file or directory, but it does exist in folder, and it also ...
Dr.Dan's user avatar
  • 41
1 vote
1 answer
2k views

Whilst developing my Dockerfile, I ran into an issue with the Entrypoint instruction script; it's not taking my docker run arguments in. Here is an example of what I tried, given: COPY ./entrypoint.sh ...
u-ways's user avatar
  • 8,282
1 vote
0 answers
58 views

I want to insert a document (with fields that need to be explicitly encrypted) in the collection when initializing the database inside the js entrypoint file. I am successfully creating collections ...
Aleksandr's user avatar
1 vote
0 answers
450 views

I have set up Apache Flink on an EKS Kubernetes cluster with one Job Manager and two Task Managers. flink configuration configmap.yaml: apiVersion: v1 kind: ConfigMap metadata: name: namespace: &...
P36912's user avatar
  • 21
1 vote
1 answer
1k views

I have a go binary that will pull environment variables from AWS SSM Param, when the script runs, it prints out lines like this: export FOO="BAR" export BAZ="QUX" This works well ...
PGT's user avatar
  • 2,077
0 votes
1 answer
505 views

I'm trying to load AWS SSM Parameters in my docker-entrypoint.sh I'm testing the failure case and it continues to the CMD if it fails. #!/bin/bash set -eo pipefail ssm_available() { if [ -z ${...
PGT's user avatar
  • 2,077
0 votes
0 answers
43 views

I created a stand-alone application with Python3 that accepts a file as input, however I am not able to let it work properly. Once installed on my system I run the application as myapp -accounts ./...
net_programmer's user avatar
7 votes
1 answer
12k views

I'm tryng to use a docker-compose file to mount a posgres container and run two scripts after that. i"m using 'docker-entrypoint-initdb.d' for that. Here is my docker-compose file: version: '3.4' ...
Alexandre Gonçalves Lopes's user avatar
1 vote
1 answer
2k views

I follow a tutorial about DRF backend and Docker use for test api. Link tutorial: https://www.youtube.com/watch?v=tujhGdn1EMI They were fully setup docker-compose and dockerfile. I am following but ...
JohnyDeen Agent's user avatar
0 votes
0 answers
264 views

I am using podman to run a model on Azure. I need to run the model many times so i am sending these jobs to additional nodes that are managed by SLURM. The podman command i use is: podman run --rm --...
andy's user avatar
  • 293
0 votes
0 answers
144 views

I can't run my docker image in my container in Docker-Desktop on Windows: docker image - container Here is my file entrypoint.sh : #!/bin/sh echo $0 set -e # Global variables PYTHONPATH="${...
Kevin JM's user avatar
0 votes
1 answer
607 views

My dockerfile looks as below: FROM ubuntu ENTRYPOINT echo CMD ["helloworld"] The container built from the above dockerfile image is giving a blank output. [root@dockerhost dproj]# docker ...
meallhour's user avatar
  • 15.9k
0 votes
2 answers
2k views

I am creating a Dockerfile that needs to source a script before a shell is run. ENTRYPOINT ["/bin/bash", "-rcfile","<(echo '. ./mydir/scripttosource.sh')"] However, ...
Kevin Stallard's user avatar
0 votes
0 answers
175 views

In Debian GNU/Linux 11 (bullseye) based Dockerfile, I tried to use CMD to run an entry point command: #EDIT WORKDIR "/tmp" USER root COPY ./entrypoint.sh /tmp/rails/entrypoint.sh RUN ...
simo's user avatar
  • 24.7k
-1 votes
1 answer
2k views

I'm using CentOS.7 in a container (because I have to) and need to install some RedHat Software Collection packages to up-version a couple of tools. This involves running source scl_source enable <...
kbro's user avatar
  • 5,049
1 vote
1 answer
1k views

I have tried many things and searched for this it, but nobody seems to have my exact problem. I installed docker on my Ubuntu 20.04 LTS using these steps and the test run docker run hello-world works ...
fb89zila's user avatar
-1 votes
1 answer
1k views

I'm working with a debian base image that comes with an entrypoint.sh file stored in /bin by default. If I don't define ENTRYPOINT in a Dockerfile, and I do a docker run, I see that entrypoint.sh runs ...
Dante's user avatar
  • 537
0 votes
1 answer
1k views

I want to secure a Docker image based on php-apache. My Dockerfile uses a bash script as entrypoint were the minimum rights are given to www-data user to run apache. The rights are given with setfacl, ...
Mdstn's user avatar
  • 61
1 vote
0 answers
969 views

I want to start my docker container with a docker-compose command. The underlying docker image CMD should just be executed regularly, and I want to append my script at some point. When reading about ...
ricklepick's user avatar
0 votes
1 answer
170 views

I have a container that runs an SQL query and then sends an email based on the results. #!/bin/bash AMOUNT=$(mysql -h foo -u foo -pfoo foo < order-check.sql | sed 's/amount//'| cut -f1 -d ".&...
Ydrab's user avatar
  • 31
0 votes
0 answers
172 views

I am trying to override the entrypoint of an image with a new executable as follows Everything runs from github actions step FWIW - name: run docker run: | ls -l ...
pkaramol's user avatar
  • 19.9k
2 votes
3 answers
3k views

I am trying to override the entrypoint in a docker image with a script execution that accepts arguments, and it fails as follows ▶ docker run --entrypoint "/bin/sh -c 'my-script.sh arg1 arg2'&...
pkaramol's user avatar
  • 19.9k
0 votes
3 answers
1k views

I'm trying to perform some user operation(change admin-user), after Neo4j container boots up. But my background script doesn't wait for the neo4j to come up and dies before Neo4j comes online. ...
Amit G's user avatar
  • 306
0 votes
1 answer
919 views

What I am trying to achieve Background information I have a docker container set up with environmental variables pre-defined by Kubernetes and used as configuration for the docker container. In the ...
SSHUser's user avatar
0 votes
1 answer
2k views

I am new to Docker and trying to adapt a setup from Symfony Docker to another app that uses a different Dockerfile. I use a docker-entrypoint to run database migrations which, of course, require the ...
BernardA's user avatar
  • 1,523
2 votes
1 answer
10k views

I have three files #!/bin/sh # const variables BUCKET_NAME=gs://rasa-models-staging PROJECT_NAME=stage KEY_FILE=./stage.json # install dependencies pip install google-cloud-storage # Login to ...
Himanshu Teotia's user avatar
0 votes
1 answer
109 views

I built a container using the docker-compose script below: services: client: image: alpine environment: - BACKUP_ENABLED=1 - BACKUP_INTERVAL=60 - BACKUP_PATH=/data - ...
gonzalloe's user avatar
  • 313
0 votes
1 answer
841 views

I want to pass an env/build var to my Dockerfile for use in its entryxoint and thought I could do it from the docker-compose file like so web: restart: "no" build: context: .....
Dave's user avatar
  • 20.1k
0 votes
2 answers
441 views

I am running a docker file to execute a debezium service as entrypoint. It works fine and executes debezium service when I use the exact file path as parameter to Entrypoint command in my docker file ...
FlashUltron's user avatar
0 votes
2 answers
2k views

I'm stuck trying to achieve the objective described in the title. Tried various options last of which is found in this article. Currently my Dockerfile is as follows: FROM ubuntu:18.04 EXPOSE 8081 CMD ...
user1729972's user avatar
2 votes
0 answers
34 views

I am trying to connect a python kafka consumer to a kafka broker using the following script: import kafka from configuration import config if __name__ == "__main__": print('Start') ...
Charalamm's user avatar
  • 2,039
12 votes
2 answers
48k views

Could we have a {docker run} command without a entry point? As far as I can see, there must be an entry point (if not specified, it should be defaulted to "bash" at most cases). Otherwise, I ...
kzfid's user avatar
  • 836