Category : server

$docker exec -it 294823gf387y /bin/bash $cd /var/log/syslog #Inside docker Want to copy the syslog file from inside docker container to remote server. The problem is I don’t have enough storage to copy on the local host. The syslog file is 125GB and can’t rerun the docker container as its a prod server. Is there anyway ..

Read more

I need to run a golang web server with postgres. I wanted to put everything into one Docker image but don’t know how to run database in the background. Dockerfile # Build Backend FROM golang:1.16.3-alpine3.13 AS server-builder WORKDIR /go/src COPY backend . RUN go build -o server . FROM postgres:13.2-alpine WORKDIR /wol-server ENV POSTGRES_PASSWORD root ..

Read more

I am trying to create a new prisma 1 server connecting to a Postgres DB. I have the following docker-compose.yaml: version: ‘3’ services: prisma: image: prismagraphql/prisma:1.18.1 restart: always ports: – "4466:4466" environment: PRISMA_CONFIG: | port: 4466 managementApiSecret: <secret> databases: default: connector: postgres host: <host-url> port: 25060 user: <username> password: <password> database: prisma postgres: image: postgres ..

Read more

I have an R Shiny application that is running inside a docker container. On my local Windows machine, when I start the Docker container/image, the container/shiny App starts and stay up and running without becoming grey/dying off. However, when deployed to a server, the container starts, and the App runs fine. The problem is: the ..

Read more