Questions tagged [dockerfile]
A Dockerfile is a file containing instructions to build a Docker image
I am creating a gitlab-ci to run e2e tests over my application,
so, given I have this docker-compose.yml:
While I can successfully write a .gitlab-ci.yml on gitlab.com that passes my artifact to public/, I would like .gitlab-ci.yml to instead do the same using a Dockerfile to create the artifact.
I'm trying to install ‘ggpmisc’ package in my Dockerfile, and I got the message :
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning: unable to access index ...
I've reading two topics about Docker security:
I understand ...
I want to change the docker image(Any images such as Database images: MongoDB or PostgreSQL) to XFS file system.
Is there any solution such as set options into the Docker file to change the file ...
enter image description hereI have created docker container remote-host, it is created successfully however its not running and status is 127 exit.
Have created another container db it is running. I ...
Hi I am trying to download a file inside container and moving this file in specific location inside container.
RUN wget https://storage.googleapis.com/hadoop-lib/gcs/gcs-connector-latest-hadoop2.jar ...
I have trying to dockerize my a ASP.Net Core 2.2 web application by running on Linux Docker image. I am however getting the following error when it is trying to connect to SQL server running on local ...
Developed selenium scripts using the PageObject model and exposed the methods as rest API. So the idea if I call particular rest endpoint the associated Page Object will be executed.
for eg:- http:...
When running queries in my Docker I get this error, for example
php artisan clear-compiled
In Connection.php line 664:
SQLSTATE[HY000]  Connection timed out (SQL: select `id`, `name` from
I have an iptables configured on my server. When i try to build my custom docker image with a Dockerfile, I've an error when the Dockerfile trying to update the source list with RUN apt-get update:
I'm trying to dockerise a react app. I'm using the following Dockerfile to achieve this.
# base image
# set working directory
# install and cache app ...
Building this Dockerfile:
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y locales apt-utils
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /...
I am trying to run a windows command-line program called msconvert inside a docker container. The authors provide a docker image and it works just fine using ´docker run´ or when connecting to the ...
I am running jenkins inside a docker container. I have created a simple pipleline to checkout,build and run docker image, but I am getting the following error.
Below is my pipleline script:
I'm trying to run uiautomatorviewer (from android sdk tools) in a docker container. But I get below error on running the docker container.
Exception in thread "main" org.eclipse.swt.SWTError: No more ...
I am trying to implement Kobotool/KPI as frontend and postgres database as backend ,but i am not getting how to write code
I have a Shiny app which is hosted in Ubuntu. This app depends on data that are updated each day and the updated data is stored in local MySql server. To fetch data when App
Statistics_FN = function(...
How do I dynamically add container ip in other Dockerfile ( I am running two container a) Redis b) java application .
I need to pass redis url on run time to my java arguments
Currently I am ...
Here is my Dockerfile:
# base image
# set working directory
# add and install requirements
COPY ./requirements.txt /usr/src/app/requirements.txt
I am trying to create a new docker image based off on one of the official Amazon Linux docker images but something is not entirely correct.
Here is the content of Dockerfile:
I'm going create DHCP server with docker (There is a debian Image).
This one is in the same container with my DNS server (who is working correctly)
I don't use DHCPv6
So, when I try to start "service ...
I am running jenkins container on kubernetes. for some reason, creating a pipeline that pulls dockerfile from bitbucket and builds an image gives me an error.
The pull stage works fine, the problem is ...
What is the right way for running multiple commands in one action?
I want to run a python script as action. Before running this script I need to install the requirements.txt.
I can ...
I have a docker-compose.yml and local.yml file with my project symfony 4. The build docker is success in and a see in a kitmatic a fixtures and migrations is done.
i use cmd:
docker-compose -f ...
I have 2 files, the first one is (dockerfile) and the second (test.env)
when I run the dockerfile I want it will takes the variable aaa which = to index.php from the test.env
I'm trying to create an easy-to-use Docker image for the Garry's Mod server. While my Docker image builds just fine, running it as a container always results in a single error: /bin/sh: 1: ./easygmod....
I want to manually change some source code in a .py file inside gensim library, which is installed inside a docker image after pip install -r requirements.txt which has gensim library version ...
Trying to change the hostname of container with export HOSTNAME=somehost from entrypoint.sh script but its not chaging
Attaching my current dockerfile and entrypoint.sh files
With the below command:
docker container run -dit --name testcontainer –mount source= ubervol, target=/vol alpine:latest
source mount point name is ubervol pointing to target /vol that resides ...
So I decided to dabble a little bit in the world of containers. I'm used to running VMs, but after learning more about containers I can see much better use of resources than VMs. So in my process of ...
I am currently using Docker Desktop for Windows and following this tutorial for using Docker and VSCode ( https://scotch.io/tutorials/docker-and-visual-studio-code ) and when I am attempting to build ...
I am attempting to connect to a DB2 server (on prem) from a Windows based Docker container. It is currently using the IMB.Data.DB2.Core nuget package (latest). The docker file is just the auto-...
I Exposed the Docker file to port 90, iis is running in port 80
I was running a dockerfile in windows 7 using docker toolbox.
I have also installed IIS Server locally.
I Expect hello Dude in local ...
I am familiar with docker but have reached a road block. I am trying to call an executable from the terminal without running an interactive session. I can currently get this done by exectuing the ...
I have a simple python app, which uses custom class I've created. The following folder structure is the following:
| ├── run_it.py
| ├── __init__.py
│ ├── parsers
│ ├── parser.py
after building docker file on windows 10, and create container, container doesnt appear running i have to user "docker container list -a"
PS C:\users\amrka\desktop\myimages> docker logs 640a26ca5cbd
Trying to build angular application in docker and run as container in my local using Node js.
I have used build image using below Dockerfile, but i am not sure what i am missing while running. Can ...
My dockerfile is as below:
COPY prerequisites_ubuntu.sh /temp/prerequisites_ubuntu.sh
The parent image I am using seems to require root access to run its ENTRYPOINT instruction.
In my Dockerfile I need to run my own container (executable) with normal user at the end. How do I switch ...
I was running a dockerfile in windows 7 using docker tool box.
I have also installed IIS Server locally.
I Attached the Commands in Terminal
MINGW64 /c/Program Files/Docker ...
I set up a PHP application recently to work in a docker container connected to a database in a different container.
In production, we're using a single container environment since it just ...
I am trying to move my current build server, which is based on Visual Studio, to a containerized environment. As such, I am trying to use the mcr.microsoft.com/dotnet/framework/sdk:4.7.2-...
I am trying to install docker in a laravel project. Everything seems to work, except that when I try to import data into my comic, I get this error:
I import width command line:
docker-compose exec ...
I execute a docker run command as shown below
docker run -it --rm --net=host tensorrtserver_client
When I execute this command, I see that command prompt changes
I'm building a multi-container App. Here is the overall view of the working directory:
| |_ Dockerfile
| |_ startStreaming.py
| |_ credentials.py
We have the following deployment yaml:
Is it possible to run a TeamCity server instance in a Linux container, and then run a Build Agent in a Windows container and have it connect?
First of all, I'm relatively new to Docker, so sorry if my question is dumb or inmediat.
I'm building a multi-container App and I'm having problems displaying one of its services which works fine on ...
I have a dockerfile for Prometheus which runs on amd64 and is as follows
LABEL maintainer="The Prometheus ...