skip to Main Content

Docker & Nodejs – ReferenceError: TextEncoder is not defined

I'm encountering the following error while trying to launch my docker container: Error: server_1 | /usr/src/app/node_modules/whatwg-url/lib/encoding.js:2 server_1 | const utf8Encoder = new TextEncoder(); server_1 | ^ server_1 | server_1 | ReferenceError: TextEncoder is not defined Dockerfile: FROM --platform=linux/amd64 node:current-alpine WORKDIR…

VIEW QUESTION

Docker port mapping weirdness

I am using this docker-compose file: version: "3.7" services: mautrix-wsproxy: container_name: mautrix-wsproxy image: dock.mau.dev/mautrix/wsproxy restart: unless-stopped ports: - 29331 environment: #LISTEN_ADDRESS: ":29331" APPSERVICE_ID: imessage AS_TOKEN: put your as_token here HS_TOKEN: put your hs_token here # These URLs will work as-is…

VIEW QUESTION

Cannot start service api: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "python manage.py runserver – Docker

I would like to running docker-compose. during running react and django application, docker-compose returns the following error: (base) dominik@Precision:~/PycharmProjects/humanet-docker$ ls api docker-compose.prod.yml docker-compose.yml front nginx (base) dominik@Precision:~/PycharmProjects/humanet-docker$ docker-compose ps Name Command State Ports ------------------------------------------------------------------------------------------------------------------------------------------------------ a7c8de30f648_humanet-docker_api_1 python manage.py runserver ... Exit…

VIEW QUESTION

docker compose not recognized when using sudo

My OS is Ubuntu 20.04.3 LTS. I've installed docker compose V2, and I can access it from the command line regularly: $ docker compose version Docker Compose version v2.2.2 I've also installed compose-switch according to the manual instructions here: https://docs.docker.com/compose/cli-command/#compose-switch…

VIEW QUESTION
Back To Top
Search