docker – starting container process caused "exec: \"/app\": permission denied": unknown-ThrowExceptions

Exception or error: When I was trying to build golang using docker The image build of docker was successful, but the following error occurred when running with docker run docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused “exec: \”/app\”: permission denied”: unknown. I think this error cause no user …

docker – ci/cd breaks in testing for go get-ThrowExceptions

Exception or error: I’m trying to prebuild docker image so that my ci/cd pipeline would go much faster and there is problem with go I have tried reseting cache and change env variables but no one worked for me Fetching https://git.dar.kz/forte-market/domain?go-get=1 Fetching https://gopkg.in/olivere/elastic.v5?go-get=1 go: finding github.com/sirupsen/logrus v1.4.2 go: finding github.com/modern-go/reflect2 v1.0.1 go: finding github.com/xanzy/go-gitlab v0.20.1 …

docker – What package should I install instead of libpcre++-dev to use C code in Alpine Golang?-ThrowExceptions

Exception or error: I have a Golang program inside a docker container (I use Ubuntu 18). Also I use github.com/glenn-brown/golang-pkg-pcre/src/pkg/pcre for regex in my Golang app. Before using this library I should install libpcre++-dev this way: sudo apt-get install libpcre++-dev But I use golang:alpine in my Dockerfile and this is no libpcre++-dev library in alpine …

docker build with Go modules import problem-ThrowExceptions

Exception or error: I have a problem with building microservices with Go using some specific project structure after research, I use the below project structure github.com/username/container/ ├── pkg/ (‘username’ created packages – common for all services & reusable in other projects) | ├── errors/ | ├── log/ | ├── metrics/ | ├── infra/ (sub category …

go – Docker compose can't find local package-ThrowExceptions

Exception or error: So I created REST api and one grpc service in GOlang and now I want to compose it in docker compose. My docker-compose looks like this: version: ‘3’ services: db: image: postgres environment: POSTGRES_DB: db_1 POSTGRES_USER: postgres POSTGRES_PASSWORD: tajna PGDATA: /tmp volumes: – ./db/sql/user/1_create.sql:/docker-entrypoint-initdb.d/1-create_user.sql – ./db/sql/item/2_create.sql:/docker-entrypoint-initdb.d/2-create_item.sql ports: – 5432:5432 networks: apinetwork: service: …

go – Docker stats vs runtime memory stats-ThrowExceptions

Exception or error: I’m using docker stats to check the performance of a service (service A) running in a docker container. I’m running a script that executes a new service each 3 seconds. Then, service A requests data from these new services and save it. When I monitor memory usage from docker stats, when the …

docker – Permission denied when attempting to access generated protobufs using Uber Prototool-ThrowExceptions

Exception or error: I am attempting to play around with https://github.com/uber/prototool that i came across. I created a simple repo called protobufs and wrote a simple script to generate my proto files in a docker container that pulls the image uber-prototool. Code ingenerate.sh` file: #!/bin/bash rm -rf gen echo Generating Go code for all repos… …