Docker Volume Data is not Persistent – Debian
I want to create two Docker volumes and have their data be persistent. I run sudo docker compose up -d, post some data to my website (text that is stores in a sqlite database and an image stored in the…
I want to create two Docker volumes and have their data be persistent. I run sudo docker compose up -d, post some data to my website (text that is stores in a sqlite database and an image stored in the…
I'm getting an error details: name = ErrorInfo reason = IAM_PERMISSION_DENIED domain = iam.googleapis.com metadata = map[permission:logging.logEntries.create] when I check the logs of a deployed container in GCP. I'm not sure why this is happening since running the container in…
I have two containers that run via docker-compose, my docker-compose looks like this version: "3.7" services: mssql: build: ./Db ports: - 1433:1433 planning-poker: build: . restart: always env_file: - env.list ports: - 80:8080 depends_on: - mssql Dockerfile go-app: FROM golang:latest…
So I am a novice to Docker and Golang. I created a REST API in go-gin framework and a docker image and when I am running the image it gives me following error: docker: Error response from daemon: failed to…
I have to start a mysql container through a dockerfile, in which I simply have to set the environment variables, I wrote the dockerfile like this, but when I do the "docker run" it remains in exited state. FROM mysql…
I am creating a Dockerfile that needs to source a script before a shell is run. ENTRYPOINT ["/bin/bash", "-rcfile","<(echo '. ./mydir/scripttosource.sh')"] However, the script isn't sourced as expected. Combining these parameters on a command line (normal Linux instance, outside of…
I am new to docker. I am trying to create a container for react and express and run both the containers on same network using docker compose. Below is my dockerfile for frontend: FROM node:alpine WORKDIR /app COPY package*.json ./…
I am using ubuntu 22.04 lts as a sudo user. I made a react application and then I created a image and ran it in a container successfully. But i want to go inside the container for which i ran…
Is it possible to run docker-compose commands within a Docker container? As an example, I am trying to install https://datahubproject.io/docs/quickstart/ FROM within a Docker container that is built using the Dockerfile shown below. The Dockerfile creates a Linux container with…
I made a Dockerfile to build my spring boot project with GraalVm natively; everything went correctly. Here is the Dockerfile FROM ghcr.io/graalvm/graalvm-ce:22.3.1 AS buildnative WORKDIR /app COPY mvnw pom.xml ./ COPY .mvn/ .mvn COPY src ./src RUN ./mvnw clean package…