1,687 questions
0
votes
1
answer
256
views
ASP.NET Core 8 MVC + Docker not running
I created images for my ASP.NET Core 8 MVC project, but when I try to access it locally, it is not working showing an error "This site can't be reached".
FROM mcr.microsoft.com/dotnet/sdk:8....
-1
votes
1
answer
198
views
Common Vulnerabilities and Exposures during docker build
I'm trying to build by project in Docker, So i'm using Docker Desktop to build my project,
when i build the image i get this as one of my vulnerabilities
CVE-2024-26308
CWE-770
7.5
H
Allocation of ...
1
vote
0
answers
655
views
Clean / Purge data in docker desktop with command line
I am using docker desktop 4.29 enterprise version. I have noticed that there are few cached data that is getting increase after every run. This is getting cached in folder "C:\Users\...
0
votes
0
answers
61
views
SessionNotCreatedException when using llama_index.readers.web.WholeSiteReader inside a docker container
I was using llama_index.readers.web.WholeSiteReader inside a docker container, which first gave a ValueError saying No chrome executable found in PATH. After I installed and setup the google-chrome ...
1
vote
0
answers
392
views
Docker execution related issue
docker compose -f docker-compose.yml build
time="2024-05-07T07:51:43+05:30" level=warning msg="F:\\AuctionEasePlatform\\docker-compose.yml: `version` is obsolete"
request returned ...
2
votes
1
answer
238
views
Docker build increases image size with chown [duplicate]
I am new to multistage builds and using chown -R appuser:appuser /app
# Copy the virtual environment
COPY --from=builder --chown=appuser:appuser ${VIRTUAL_ENV} ${VIRTUAL_ENV}
# Copy application code
...
0
votes
2
answers
2k
views
Docker service startup failed with status 203
I have a RHEL 7 server with Docker EE and I have installed Docker CE after removing Docker EE. But after installing Docker CE, when I try to start Docker service with command systemctl enable --now ...
0
votes
0
answers
39
views
Is named docker Volume stored on host machine [duplicate]
i am new to devops specially docker, i have created a docker image to config Jenkins inside a docker container to make the data persistent i have used docker volume, i am using the following command:
...
0
votes
1
answer
339
views
Dockerfile - nuxt: Permission denied
I want to create a Dockerfile to build a webserver via NPM from a NuxtJS page. Building with the Dockerfile works without problems, but as soon as I start the container via docker compose, I get an ...
1
vote
0
answers
570
views
ERROR: Preparation failed: exec: "docker-machine": executable file not found in $PATH
I'm new to Gitlab and trying to setup some pipelines with executor docker+machine on RHEL/ Red Hat servers.
Since RHEL uses Podman containers so I am trying to use the same and while running the ...
0
votes
0
answers
108
views
How can I enhance the speed of docker site
I have site running on a docker container here is my compose file it is quite basic
version: '3'
services:
apache:
image: httpd:latest
networks:
vlan-ecm:
ipv4_address: 172.16....
1
vote
2
answers
715
views
Docker volume contents and container files not merging [duplicate]
The following is my docker file
FROM node:16-alpine
WORKDIR /app
COPY a.txt /app
I have volume name my-volume which have a folder called dist. Im trying to mount my-volume to /app in the container. I ...
0
votes
0
answers
146
views
Removed the core jar file from the container, but still the container is UP and RUNNING
I have a Java application that is running in the container, and I have removed the core jar file from the container, but still the application in the container is UP and RUNNING, I don't understand ...
2
votes
1
answer
3k
views
How can I copy-paste files into a WSL podman container?
I spun up a wordpress and mysql container inside podman to test a plugin. I need to copy the wordpress /uploads/ folder inside the new instance. I thought that would be the easiest part, but I soon ...
0
votes
1
answer
592
views
why docker start command starts containers in detached mode by default
I have used run command in docker cli to so when i used the command
docker run --name ubuntu ubuntu
it simply exists because it has no ptty and input output connection and we can attach our terminal ...
1
vote
1
answer
2k
views
Docker compose with GPU access
my docker compose file is as follows:
version: "3"
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:5000"
deploy:
...
2
votes
1
answer
677
views
Docker is too slow to run the application on the MacBook Pro (M1) local machine
Recently we have moved the rails application to docker for development. I am using MacBook Pro (M1, 2020), OS Version: 12.0.1. Now the application works, but that is extremely slow on local machine, ...
0
votes
0
answers
36
views
how to establish connectivity between my app running as a container with a database that is running on a different server
I have an application that is running as a container inside Linux based server that needs to be able to communicate with a DB server that is not containerized.
Linux Server1 -> container -> app
...
2
votes
1
answer
964
views
How to fix docker on create containers
I'm trying to create a container on Docker using Linux
I'm trying to run
docker run hello-world
And I get an error
docker: Error response from daemon: failed to create shim task: OCI
runtime create ...
0
votes
2
answers
790
views
DockerDesktop doesn't run on Hyper-V enabled server machine
I would like to build ABP project and docker image on Windows Server 10.0.17763.168.
I have attached the issue.
I have enabled Hyper-V feature on Physical machine.
Thank you for taking the time to ...
2
votes
2
answers
2k
views
can not stop docker container , permission denied error
I have a docker file like this which runs a hello-world FastAPI app.
FROM python:3.10.9-alpine3.16
RUN adduser -D app
USER app
WORKDIR /usr/src/app
COPY . .
RUN pip install --no-cache-dir -r ...
-2
votes
1
answer
414
views
Docker file contents not showing in local repo
Hi I am building a simple python image using docker.
I am using ubuntu 22.04 and vs code as my editor.
I have created a folder inside my local machine and used vs code to write simple python script ...
0
votes
0
answers
118
views
how can i Bind a Host Path to a named volume in Docker with size limitation
i need to bind a directory from host to container , i need to limit the amount of data that is generated from a program in the container , for example 5gb, if the program generated 5gb data and ...
0
votes
1
answer
101
views
How do I use docker commands in docker container?
I am using .gitlab-ci.yml file as below.
I want to perform docker pull & push to google container registry
image:
name: google/cloud-sdk:latest
entrypoint: [ "" ]
variables:
...
0
votes
0
answers
1k
views
How to edit docker volume device option?
How could I change the docker-volume-device option after the creation, With out removing the container
Previous command used for creation
docker volume create \
--driver local \
...