I am using gitlab installed on ubuntu server to run my gitlab ci/cd jobs. So my .gitlab-ci.yml with template of docker looks like below: stages: – build docker-build: # Official docker image. image: docker:latest stage: build services: – docker:dind before_script: – docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: – docker build –pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" ..
I am building a dockerized R Shiny Application. I recently purchased a new router: ASUS RT-AX55, and am running into issues with docker images downloading dependencies. When I install packages with dependencies locally, I have no issues. However, when I install packages in the course of building from a docker file I receive the following ..
I have a python code which runs fine to pull data from an API but I am getting issues to run it via docker. I am using pyodbc to load data into SQLServer in my python code. Here is my dockerfile: FROM python:3.9.2 RUN apt-get update -y && apt-get install -y –no-install-recommends unixodbc-dev unixodbc libpq-dev ..
Hope this isn’t a stupid question. When looking at Docker images, particularly from the official repository they list multiple versions and labels for each dockerfile. For instance: 9.1.6-php8.0-apache-buster, 9.1-php8.0-apache-buster, 9-php8.0-apache-buster, php8.0-apache- buster, 9.1.6-php8.0-apache, 9.1-php8.0-apache, 9-php8.0-apache, php8.0-apache, 9.1.6-apache- buster, 9.1-apache-buster, 9-apache-buster, apache-buster, 9.1.6-apache, 9.1-apache, 9-apache, apache, 9.1.6, 9.1, 9, latest, 9.1.6-php8.0, 9.1-php8.0, 9-php8.0, php8.0 My question ..
I came to you for a question, I tried to up a wordpress solution (installing by myself and not using an official image) : THE INFRASTRUCTURE : I have one container with apache, php and mariadb-client (to interogate mariadb-server from another container) I have another container with mariadb on it. I use wp-cli to configure ..
I have a .net core solution with 4 projects inside. Each one has one csproj inside, and I have an structure similar to this: – Project |- ApiLoadService |- aspnet-core-dotnet-core |- TrackingService |- UserService Also, a Dockerfile inside of my ApiLoadService with: FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env WORKDIR /app COPY *.csproj ./ RUN dotnet restore COPY ..
i’m struggling a lot with a Laravel application that i want to deploy to azure AKS using azure DevOps the thing is i’m reading a lots of non-accurate tutorials and docs, i didnt found anything related on how to push or deploy a Laravel docker image to azure aks using azure DevOps and it’s frustrating, ..
I want to set a file direction as a environment variable in docker run command line as follow: docker run -e FILE_DIR=C:UsersxyzDesktopappsample.txt docker_image_name but I get this error: FileNotFoundError: [Errno 2] No such file or directory: ‘C:UsersxyzDesktopappsample.txt’ why docker puts double ?!!! is there any command that I should add such as python for example ..
I want to create a custom MySQL docker image in https://labs.play-with-docker.com/ using existing mysql file. MySQL file looks like below. abc.mysql create schema my-schema1; use my-schema1; create table table1( id bigint primary key, name varchar(50) ); insert into table1 values(7009009001,’Carry’); select * from table1; create schema my-schema2; use my-schema2; create table table2( id bigint primary ..
I have built a docker image for Laravel (i’m using docker for windows) using docker-compose build app command and i’ve pushed it to docker hub successfully the problem is : when i do docker compose -d up i’m getting 3 containers running as expected (nginix + mysql + the app) When i test the image ..