Quantcast
Channel: Active questions tagged dockerfile - DevOps Stack Exchange
Browsing all 136 articles
Browse latest View live
↧

create entry-point script to get all env variables starting with VUE_APP_ and...

I would like to Dockerize my existing vuejs app for staging , production and I used multi staged approach to create my app container and I'm using Ubuntu 18.04 and this is my,Dockerfile# build...

View Article


is a secrets-provider-container a good idea?

I am looking for a way to provide secrets to a container running on Google Cloud Run responding to the following criteria:securecentralized & pulled basedfreesimpleworking with a team, with various...

View Article


Troubles with mapping ports on a very simple Docker container

I'm new to Docker and following a tutorial on Udemy.com. The turtorial has me setting and running a very simple container.Docker File# Specify a base imageFROM node:alpine# Putting files into a...

View Article

How can I enter node commands (like "node -v" or "npm intall xyz --save-dev")...

I'm new to docker.How can I start a node service via docker-compose, which then accepts npm commands?docker-compose up -d --build <-- I use this command to startI want the npm install to be executed...

View Article

What are the advantages of dockerizing nginx and php in different containers?

I just started working with Docker and Kubernetes and I've been watching a lot of stacks, in which some people build nginx+php in a single image and some build an image with nginx and another one with...

View Article


Issue in copying files from base image to second image multistage

I am using multistage to reduce size of docker image and size of second image is reduced but when I try to run docker container from second image, I am retrieving no module found cv2. How would I solve...

View Article

How I can cache the built layers on docker build using travis.ci?

In my project I use the following .travis.ymllanguage: shellos: linuxdist: xenialgit: depth: falseservices: - dockerenv: global: - LATEST=39 - LATEST_LTS=39 jobs: - "DB_TYPE=all VERSION=35...

View Article

How can I get the Docker target platform inside the Build Environment /...

I'm doing multi-platform builds with buildx and would like to know if there is a way to determine what platform is currently being build so I can avoid certain steps for certain environments.For...

View Article


How to serve a custom index.html using the stock nginx docker image?

How do I serve static content from the default nginx docker image? Given:root@mordor:~# root@mordor:~# docker image ls nginxREPOSITORY TAG IMAGE ID CREATED SIZEnginx latest c39a868aad02 8 days ago...

View Article


Having trouble with building Docker image

I'm trying to build a docker image for a software using docker build -t cytools .Here is the output that I'm confused about:[+] Building 0.0s (1/2) => [internal] load build definition from...

View Article

Cannot execute two phpmyadmin instances in different containers

I trying to run multiple instances of phpmyadmin and MySQL. So I have actually 2 docker-compose.yml files, which contains this database: container_name: boilerplate_db restart: always build: context:...

View Article

Error while building Docker image

I tried to build the Docker image using the command "docker build --no-cache -t cytools .", but got the following error:=> ERROR [27/30] RUN tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar.gz; mv...

View Article

Continuous Deployment with jenkins

I am a beginner in DevOps.I created a continuous integration cycle using jenkins(docker image) and bitbucket.I used a simple spring boot hello-world project and after CI i got an executable Jar.I...

View Article


How do I install GitWeb onto k8s-Gerrit? (itself installed through Helm chart)

My team uses Gerrit for code review, and has it installed on Kubernetes via Helm chart. We want to be able to see our code changes, and so we wanted to integrate Gitweb with Gerrit. This begins with...

View Article

Developing of my app: container technology as a development technology itself...

Disclaimer!I know this forum is for DevOS and my question is not about deployment, but it's about development.BackgroundI was using a laptop with openSUSE Leap 15.1 to develop a Qt app. I upgraded to...

View Article


Is it possible to have containerized pipelines in Azure Devops using a...

Azure devops supports containerized jobs. This is where the build is executed inside the a docker container of the specified image. (Not to be confused with a pipeline that builds a docker image)But...

View Article

Multiple apps (microservices) and one proxy (nginx) docker-compose...

Having the following architecture:Microservice 1 + DB (microservice1/docker-compose.yml)Microservice 2 + DB (microservice2/docker-compose.yml)Proxy (proxy/docker-compose.yml)Which of the following...

View Article


How to pin OS package versions in Docker image

ScenarioFor obvious reasons I believe that every package installed in a Docker image should have their version nailed down.That's why in our Dockerfile we always enforce the OS package manager to...

View Article

docker | database connection refused between two containers

I have a mysql database running with the following docker-compose.yml:version: '3.3' services: db: image: mysql:5.7 restart: always environment: MYSQL_DATABASE: 'demo' # So you don't have to use root,...

View Article

Do I need header files once I install the php extention on Dockerfile?

Usually when I build docker images for php I use this approach:FROM php:7.2-apacheRUN apt-get update && \ apt-get install -y libghc-postgresql-simple-dev &&\ docker-php-ext-configure...

View Article
Browsing all 136 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>