All Questions
2,478
questions
1
vote
1
answer
45
views
How to run a bash script using bash using Docker-in-Docker
I have a bash script that I use to build my Docker images and I'm trying to set up my GitLab CI so that it automatically builds the image whenever I push a tag.
This is my .gitlab-ci.yml file:
stages:
...
0
votes
1
answer
30
views
Cron call vs CLI call on Ubuntu [closed]
I am running into a weird issue. Cron call vs CLI call on Ubuntu 16. It checks 5 different docker containers.
requestLogExistsInCon=$(docker exec -it myapp_${_docker_container_count}_1 sh -c "...
0
votes
0
answers
49
views
Multi Ubuntu version targetting from single dockerfile
I am using a single Dockerfile to build images for different Ubuntu versions. Those images are then used in CI to build software targeting those different Ubuntu versions.
Sometimes, there are of ...
1
vote
0
answers
51
views
Docker container for apache/age image is not able to setup configuration with input redirection
I am developing a python module that uses Apache AGE and I want to do some unit testing. For this, I wrote a bash script that runs the container, copies a SQL configuration file to it, executes the ...
0
votes
0
answers
12
views
Link PureFTPD server container with MariaDB on portainer
First of all I'm sorry if I miss some informations for you guys to be able to help me. It's my first time posting here and my first time using Portainer and Docker.
For context: I am using portainer ...
-1
votes
1
answer
46
views
How do i access a deployed service's exposed port
I have a simple spring boot service which performs CRUD Operations using MySQL. I dockerized my service and pulled an image of mysql and got the images to run on the same network and work.
The problem ...
0
votes
2
answers
43
views
Run a docker container with an entrypoint and launch a custom command from the command line (not overriding)
I create the image "FOO" from a Dockerfile that contains an ENTRYPOINT.
Is it possible to run this image in order that the entry point is executed (no override), and then the extra commands ...
-1
votes
1
answer
48
views
Variable expansion in "Run" command in docker [duplicate]
Example 1:-
FROM ubuntu:latest
SHELL ["/bin/bash", "-c"]
RUN echo "export MY_VARIABLE=my_value" >> ~/.profile
RUN cat ~/.profile
RUN "source ~/.profile &&...
0
votes
0
answers
35
views
Creating new items after importing a Wikibase XML dump
I'm creating a local copy of a Wikibase instance, using the exact steps as recommended here. The error I'm running across appears at first very similar to what is discussed in this StackOverflow ...
0
votes
2
answers
28
views
Can't connect to Jupyter lab of my Apache/Sedona container via localhost
I'm working on Fink ( an astro-physicist-big-data project). My job is to modify Apache:Sedona code in order to manage 3D data (either geometries and algorithms).
I use a remote server's VM based on ...
-1
votes
1
answer
38
views
How to start my Mysql database to connect to my api
I am trying to make a mysql database to connect to my api (the two of them are for a local infrastructure).
right now i tried to make my api check my production database (which is working on port 3306)...
-2
votes
1
answer
106
views
How to resolve bash: docker: command not found, inside docker container? [closed]
I am using docker on windows. And everything works fine. I can create images and docker containers.
Version of docker is:
docker -v:Docker version 26.1.1, build 4cf5afa
And I added in the ...
0
votes
0
answers
13
views
Docker on Windows: OCI runtime create failed: unable to start container process: "bash": no such file or directory [duplicate]
I'm trying to run a Docker container on my Windows machine to execute some reformatting commands using poetry, isort, and black. Here is the relevant part of my Makefile:
.PHONY: reformat
reformat:
...
-1
votes
1
answer
66
views
pdf2htmlEX custom docker image - building problems with fatal error
Funds
There is this app that has been outdated for quite some time and unsupporeted: https://github.com/pdf2htmlEX/pdf2htmlEX
The last release was in July 2020.
But since then there has been a poppler ...
0
votes
1
answer
60
views
Docker ENTRYPOINT script not receiving SIGTERM
I am trying to make a container that saves data to a folder on the container linking to the host os on exit.
However, it doesn’t trigger the trapped command.
This is the ENTRYPOINT format of the ...