I have built an small CRUD application using .Net 5 with React in the front end and SQLite for the database. The app is working fine locally and all connections are correct both to the API and to the database. I have been trying to put the whole application in a docker container. This also ..
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 ..
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 ..
Since I’ve installed go-sqlite3 as dependency in my go project my docker build time started oscillating around 1 min. I tried to optimize the build by using go mod download to cache dependencies But it didn’t reduce overall build time. Then I found out that go-sqlite3 is a CGO enabled package you are required to ..
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 Connection id "0HM9T6FK8IAR1", ..
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 ..
I’ve decided I want to create my own SQLite library for Java. SQLite is a C code base. I want to run this library on as many platforms as possible. Several potential users of my code base have HP-UX, AIX, and other uncommon architectures. I have been using xerial/sqlite-jdbc for a long time and saw ..
I’ m running a Django application within a docker container. I’m getting this error sqlite3.OperationalError: attempt to write a readonly database. I’ve tried everything in the Dockerfile RUN chown username db.sqlite3 RUN chmod 777 db.sqlite3 I tried also to run the application as root user, but I still get the same error. Source: Docker..
I’m trying to deploy a .NET-Core Discord-Bot on a VPS (Ubuntu 18.04 x64) with the DSharp library through Docker. My project includes a SQLite database. I have no problems accessing data stuff when running it manually with Visual Studio, and my bot also sends commands. However, when I try to send commands when I get ..
I am trying to compile an Alpine Go container which uses GORM and it’s SQLite driver for an in-memory database. This depends on CGO being enabled. My binary builds and executes fine using go build ., but when running my docker image I get the error message: standard_init_linux.go:219: exec user process caused: no such file ..