Questions tagged [docker-container]
Docker Containers are the core of the docker platform in which programs and applications can be packaged and run in simulated environments.
1,036
questions
-2
votes
1
answer
29
views
Batch file not executing a command
I am trying to create a .bat file that will back-up the database inside the container. After the first command (that is used to enter the container) the next one is ignored.
docker exec -it ...
0
votes
0
answers
17
views
The docker Container of caddy is in restarting state
This is docker-compose file that starts the containers all are working fine except the caddy.
version: '3'
services:
db:
image: postgres:latest
restart: always
expose:
- "...
-1
votes
0
answers
17
views
Docker doesn't recognise ld command
I made this file for an os
x86_64_asm_source_files := $(shell find src/impl/x86_64 -name *.asm)
x86_64_asm_object_files := $(patsubst src/impl/x86_64/%.asm, build/x86_64/%.o, $(x86_64_asm_source_files)...
1
vote
0
answers
45
views
+50
Running docker containers on a different drive due to host being full
I've been using portainer to set up various docker containers and stacks. I recently set up a deluge container, which after being halfway through a large download, threw an error stating that there ...
0
votes
1
answer
25
views
Docker Run Image Error no such file or directory
i try to run a docker image with this command:
docker run 7ce2964461cc
but get this error:
docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/...
0
votes
0
answers
33
views
WCF service access from client application not working in windows container
I have a WCF service that is hosted on localhost. This WCF service runs in the background to support another C# application that accesses that service. The communication works when the background is ...
-1
votes
0
answers
22
views
how to properly dockerize a Flask python app: exposing ports and localhost [duplicate]
first of all, I'm sorry if this question happens to be a duplicate, I could not find an answer that satisfied my questioning.
As the tittle implies, I'm trying to dockerize a simple python app running ...
1
vote
0
answers
36
views
Running docker-compose container from docker hub
I have created 2 containers locally and pushed them into docker hub to use on a VM, one is an Angular App and the other is a Django REST API with a db:
Angular App
Dockerfile
FROM node:latest as node
...
0
votes
0
answers
10
views
photon docker image not running
I started nominatim using:
docker run -p 8080:8080 --name nominatim_container --detach helvalius/nominatim-docker-development
and to start photon I used:
docker run -p 2322:2322 --link ...
-1
votes
0
answers
53
views
Entering a Conda environment within a Docker container built by Docker Compose
I have a Docker file ("DEESfile") and a Compose file, both are detailed below. The Docker file establishes the necessary directories within the container and installs a Conda environment ...
0
votes
1
answer
37
views
Docker image does not start
When I download my Docker image, and try to run it right away, this message appears:
/usr/local/bin/liferay_entrypoint.sh: line 41: 8 Killed start_liferay.sh
The code I use for ...
0
votes
0
answers
20
views
How to connect server MYSQL with docker?
I have one doubt regarding MySQL,
How to connect server MYSQL with docker? with remote server not in localhost.
0
votes
1
answer
32
views
AWS Target Group Unhealthy - Docker Container
I'm new to AWS and am having some issues setting up my Docker Container .net API. The Docker container is built to allows 80 & 443.
I was able to access the container via the elastic IP before I ...
0
votes
1
answer
39
views
Docker container doesn't run on windows , Ports are not available
I was trying to run the docker container on windows 10 but I always get this error "Cannot start service SERVICE_NAME: Ports are not available: unable to list exposed ports: Get "http://unix/...
0
votes
0
answers
20
views
restrict docker exec command [duplicate]
do you have any idea how can I restrict this command?
docker exec <container_name>
I don't want to let anyone to use this command and access files and stuff inside the container.
2
votes
1
answer
71
views
Are the data protection keys necessary for docker container?
I am getting the following error in my logs when running my application on a docker container.
[08:20:54 WRN] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted ...
0
votes
0
answers
15
views
Is it possible to connect docker phpmyadmin to mysql running on my mac os? [duplicate]
I have install mysql on my mac os and it is running on port 3306 locally and phpmyadmin container running on 80(host port 8080).
Also, I have tried with running both mysql and phpmyadmin using docker,...
0
votes
0
answers
39
views
How to grow file system from inside the docker
I have an container running on aws batch on an instance running on 2 disks, I modified the size of one of them to 1000GB, then I grow the partition size and file system of the host using growpart /dev/...
0
votes
0
answers
81
views
git clone does't work on docker container
I have a Ubuntu 22.04 machine that runs Docker and docker-compose. On my ubuntu, I've spun up the Ubuntu docker container. From my machine, I can do a git clone to pull down a repo that is working ...
1
vote
0
answers
44
views
Docker container host port not working but working in the container port
I am Not getting Output in the exposed port but got the output in the container port in the Docker container's shell. I am not able to find the root cause behind it.
I am using docker in a windows ...
0
votes
0
answers
52
views
How to open php web server in browser from docker container?
So, I have running php web server inside docker container like so php -S 127.0.0.1:8000. How can I open it via browser in my computer?
I was trying docker run -p 4200:8000 <image_id>, but ...
1
vote
1
answer
124
views
Self-signed certificate not work inside docker for communication among containers
I have a docker-compose in which minio, minio/kes and vault talk together. Both minio/kes and vault need TLS, and I used self-signed method with IP address to create certificate for them.
I use this ...
0
votes
0
answers
38
views
Docker Oracle DB container : error response from daemon no command specified
Hello I hope you all doing good please im trying to create a container for a DB and i have this error :
error response from daemon no command specified
this is my command
docker create --name soadb ...
-1
votes
1
answer
28
views
How to access the file generated inside docker container by defining the volume in docker-compose.yml file
I am rookie when it comes to docker container , can somebody help me here.
There is a project which generates a output files when running inside docker container , I need to add Volume inside docker-...
0
votes
1
answer
21
views
Can you download a docker image from a repository to a docker container without a running docker daemon?
I have a docker container with Trivy installed.
I have a remote registry with docker images.
and
I would like to download the docker images to the container for scanning
Challenges
It is hard to run ...
0
votes
0
answers
17
views
From cache perspective, what is the difference between docker restart and docker-compose restart?
Apologies in advance if these questions are very basic. But I failed to find answers that are on-point:
In terms of clearing the container cache (not policies and not SIGTERM):
1- What is the ...
0
votes
0
answers
105
views
Docker compose platform option
I am trying to build a container from a docker image that seems to be incompatible with M1 macs, it does work with my old laptop which is Intel architecture, after research I'm pretty sure ARM ...
0
votes
0
answers
11
views
How to solve challenge/9OR59XYu5ritOArRWv2nZzIAV2OkpWkjtpKk8hEhxfY: 404
I have been getting this error for a while now
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: eventvans-testing....
0
votes
0
answers
65
views
Error "cannot connect to Docker daemon" in the ubuntu docker container
I am a newbie to docker and I am performing the following steps
Installed docker-desktop on windows
Pulled the image "ubuntu" (tag is "jammy")
Created the container from the above ...
-1
votes
1
answer
70
views
Mysql container password security
I have a couple of questions on password security in mysql container. I use mysql/mysql-server:8.0 image.
The 1st question is
Is using MYSQL_PASSWORD env var in mysql container based on the image ...
0
votes
1
answer
73
views
How to access to a docker container via SSH using IP address?
I'm using NVIDIA Docker in a Linux machine (Ubuntu 20.04). I've created a container named user1 using nvidia/cuda:11.0-base image as follows:
docker run --gpus all --name user1 -dit nvidia/cuda:11.0-...
0
votes
0
answers
25
views
Automation Testing in Docker Containers Triggering from Jenkins
I'm running the Automation tests on Docker Container to release some pressure on windows agents. While I tried to restore the NuGet packages with below Jenkins CI/CD pipeline script
stage('Dotnet ...
0
votes
1
answer
60
views
nothing in my docker, but it consumes all my root space
I'm running dcm4chee in docker and I bind mount a container storage with my harddisk. A problem is when people send me data, it seems like the data is stored to two locations, harddisk and docker ...
0
votes
1
answer
59
views
Docker container with it's own disk and memory
I wanted to test my app inside docker container for the case when disk is 100% full, or when all system file-descriptors are used, or when memory is used 100% etc...
Is it possible to do this inside ...
0
votes
1
answer
31
views
Is there any wget command to download .jpg pictures from one docker container folder to another container?
I am new to docker and I have a task to download pictures from a docker container1 to container2 using wget and IP of container1's path.
In detail:
container1:I have downloaded some pictures from a ...
0
votes
1
answer
20
views
Cannot import functions in from one directory's subfolder to other pyhton files in same parent directories sub folders. How do I use init.py files
parent_folder /
subfolder1 /
subsubfolder1/
a.py
b.py
subsubfolder2/
c.py
d.py
e.py
subfolder2 /
subsubfolder2/
f.py
g.py
subfolder3 /
h.py
i.py
g.py
I want to import the functions from files h,i,g to ...
0
votes
0
answers
279
views
Unable to run mariadb in a docker container
I'm not very familiar with using Docker yet. I am using Docker on a Debian server. I tried running MariaDB over a Docker container, that worked so far. However, lately I always get an error.
This is ...
0
votes
0
answers
12
views
System.AccessViolationException inside windows docker container
I am running a 3d-modeling software inside a windows docker container.
In the process of a simple run, i get an exception:
Unhandled exception. (thread: (Id=2, background)) (System....
0
votes
2
answers
138
views
Docker Swarm container cannot connect to its Docker host, connection times out
long story short:
Container C on Docker Swarm host A can access Nginx (deploy mode:global) on Docker Swarm host B but not on Docker Swarm host A via Docker host's IP, connection timed out.
Long story:
...
0
votes
1
answer
171
views
Determining types of memory used by Spring Boot application causing an OOM kill
I have a container running on Kubernetes with a Spring Boot application.
The code configures a few REST controllers and saves some data to an H2 file through JPA.
I'd say the main dependencies here ...
0
votes
1
answer
92
views
find docker name in a node.js application running inside docker container
I have a node.js application running inside a docker container with base image node:16-alpine3.11.
I want to get the name of the container on which it is running on.
ex:
docker ps:
CONTAINER ID ...
0
votes
0
answers
165
views
create a pipeline in bitbucket for building flutter (Android) app
I am very new to CI/CD pipeline. I am seeking some help. I want to create a pipeline in bitbucket for building flutter (Android) app easily. That will handle several things:
include Chrome driver ...
0
votes
0
answers
76
views
How to run pygame gui in docker container on remote server?
I want to develop a pygame environment on a remote server.
How can I run pygame gui on remote-container connected using vscode?
Please provide a simple example code.
thank you.
pygame simple code
...
0
votes
2
answers
207
views
How to check from inside a container if another container is running on port
I am running 2 containers at the same time (connected via docker-compose on setting links && depends_on).
The depends on is not enough, so I want the script that run on entryphone of one of ...
0
votes
0
answers
25
views
Case sensitive javascript filename in a source tag in Linux containers for .NetCore apps
I am observing an odd behavior while containerizing a .NetCore app. On the server side, there is a file in "wwwroot/js" folder named "myScript.js" - notice a lower case 'm'. On my ...
0
votes
1
answer
119
views
Custom Windows Docker Container Base Image
I have a service that uses an API for a desktop software. I currently have this deployed by VM's. On the VM I have the required desktop software and my service. This works great. I am wondering is it ...
1
vote
1
answer
145
views
How can I configure 2 docker compose files such that they use an existing service if it's already been pulled?
I frequently swap between different apps which use Docker, some of which are microservices that need to both be operational so I can't simply kill all of my containers. If they share a service like ...
0
votes
0
answers
21
views
How do I share my running docker-container and volume with others over the network so that they can see the changes they make to the software live?
We have locally set up a docker-container in Docker Engine and I need my coworkers to be able to access it over the network instead of running their own containers and volumes.
Generally this seems ...
0
votes
0
answers
84
views
Unable to use java in docker container
I am trying to use dask-sql in my python code which needs JAVA in the docker container.
this is my docker file
RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev
RUN apk add ...
2
votes
2
answers
90
views
Docker inspect command not showing all the ENV vars
I ran an Alpine Docker container using the following command:
docker run -itd --env "my_env_var=test" --name mycontainer alpine
Now when I run the env command from inside the Docker ...