Category : sqlite

I’m trying to init a SQlite database when I create my container using Docker-Compose. The issue I have is that the init file, with my dB structure is well copied to the container, in the right directory, but when the RUN instruction launches the sqlite3 command, it does not fail, but it does not do ..

Read more

I just can’t find the correct information on the web. I plan to run sqlite with Docker so that the information can be persisted to a local volume. My Dockerfile is FROM alpine:3.14 RUN apk add –update sqlite RUN mkdir /db WORKDIR /db ENTRYPOINT ["sqlite3"] CMD ["mydb.db"] docker run -p 5000:5000 -v ./data:/db my-sqlite mydb.db ..

Read more

I have .NET webapi application with sqlite as database run on locally, I try to deploy it to docker container using docker build, and everything was fine with docker but when I try hit the API to get and insert data but I got server error 500; with exection : fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HM9T6FK8IAR1", ..

Read more

I’m new to Docker. I am trying to dockerize a Django app. My project contains a Wagtail app and I’m using the auto generated Dockerfile by Wagtail. FROM python:3.8.6-slim-buster RUN useradd wagtail EXPOSE 8000 ENV PYTHONUNBUFFERED=1 PORT=8000 RUN apt-get update –yes –quiet && apt-get install –yes –quiet –no-install-recommends build-essential libpq-dev libmariadbclient-dev libjpeg62-turbo-dev zlib1g-dev libwebp-dev nano ..

Read more