Questions tagged [dockerfile]
For questions about Dockerfiles - text files containing instructions to build Docker container images.
123
questions
0
votes
0
answers
13
views
Run Docker with same user as on local host and own mounted folders
I have a local folder (code) on my system, which belongs to my user.
The local folder path is something like this:
- home
-- my_user
---- work
------ projects
-------- code
I want to run a Docker ...
0
votes
0
answers
10
views
Intermittent Firefox Installation Failure in Docker CI
I have a docker image to install firefox, that runs as expected locally but fails intermittently on CI. Firefox doesn't get installed, this is what I am doing.
FROM node:20
RUN wget -O firefox.tar.bz2 ...
0
votes
0
answers
11
views
bulding docker image for an arm32v7 processor
I managed to build a working docker image on my development laptop, but got an exec format error when I tried to run the docker image on the PC that the container shall run on.
My dev PC is an ubuntu ...
0
votes
0
answers
108
views
Docker Desktop - WSL distro termined abruptly
I'm on Windows 10 with Docker Desktop and I get this error every time i'm trying to create the image from this dockerfile:
# syntax=docker/dockerfile:1
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20....
1
vote
1
answer
77
views
Can't connect to local mongoDB from Docker Container
I have mongodb running in the host machine (Ubuntu 23.04) in the default port. I have set the bind_ip to be 0.0.0.0. In my docker-compose file, I have added
extra_hosts:
- "host.docker....
0
votes
0
answers
43
views
Conda environment in docker
I am new to dockerization and I am trying to make a docker image out of git repository. The Dockerfile looks like this,
FROM continuumio/miniconda3:latest
ENV PYTHONDONTWRITEBYTECODE=1
ENV ...
0
votes
0
answers
74
views
ADD'ing a zip file during a docker build corrupts the ADD'ed file
I am trying to upload a Python .whl file (essentially a .zip file) while building a Dockerfile image:
FROM python:3.12-slim-bookworm
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-...
0
votes
0
answers
11
views
exporting Mikrotik as an OS
how can I export license "mikrotik" platform as a Docker image file?
I boot a OVF file in Virtual machine and I need a command in router OS for build a docker image.
0
votes
0
answers
88
views
Base image can not be fetched within Dockerfile build but can be fetched from shell
Client: Docker Engine - Community
Version: 24.0.6
OS: RHEL8
I want to build an existing docker compose project on a new VM. The docker compose project consists of two containers db and web.
I have ...
0
votes
0
answers
13
views
Ensuring Ubuntu docker image will not kill the process under heavy load
We run our app as a daemon (or some times with nohup command) so that Ubuntu will not kill this process under heavy processor and memory load. However, we want to dockerize (on Ubuntu 20.04 docker ...
0
votes
0
answers
86
views
Unable to build multi architecture docker image
I want to built a docker image on my Intel laptop. The image will be deployed on both x86/x64 and arm64 hosts. The docker file uses ubuntu:20.04 base image. I tried building the image with following ...
0
votes
0
answers
22
views
node_modules is several orders of magnitude bigger inside the container compare to host machine
I have a simple Next project in Docker following the common recommendations for small-size containers. Heres my Dockerfile:
FROM node:16-alpine as dependencies
WORKDIR /app
COPY package.json ./
COPY ...
0
votes
1
answer
99
views
Prevent docker to write inside container
I have an extracted container deployed on a shared storage, and want to launch this container locally. However, when I launch this container to run an application, it creates some temporary files ...
0
votes
1
answer
2k
views
Docker push getting error EOF to private repository
I'm trying to push images to repo private, but it's getting error below. Before, it was working, but idk what happened...
PS C:\Users\user\aplication> docker push registry.apprepo.app/app:1.22.3
...
0
votes
0
answers
26
views
Unable to understand Docker error
I am new to Docker and trying to run a webserver written in Python. I am using Linux Debian running as virtual machine on a Windows host. I have mounted the required folder from my Windows host to the ...