Category : linux

I m trying to create .net 5.0 docker image with playwright, my image build properly but when i run my app using dotnet run ‘ProjectName’ it fails while executing command: await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless = false, Args = new[] { "–disable-dev-shm-usage" } }); Received error: Unhandled exception. Microsoft.Playwright.PlaywrightException: Browser ..

Read more

I can no longer install the Rubygems byebug and racc on the ruby:2.7.4-alpine3.13 image that was pushed in the last day. It seems something has been removed or moved. To reproduce: docker pull ruby:2.7.4-alpine3.13 2.7.4-alpine3.13: Pulling from library/ruby Digest: sha256:89b589e1b6b334ed7af93da3d4c75dca5beef8f1a844594c3a865bc6c4f5b96e Status: Image is up to date for ruby:2.7.4-alpine3.13 docker run –rm -it –entrypoint /bin/sh [email protected]:89b589e1b6b334ed7af93da3d4c75dca5beef8f1a844594c3a865bc6c4f5b96e ..

Read more

I would like some input on podman-compose and podman (I tried with docker and docker-compose with the same result) regarding environment variables, please consider the following scenario: I’ve a binary file my-binary in /tmp/my-binaries: #!/bin/sh echo "Hello World" I’ve created a docker-compose.yml: version: "3" services: test-container: image: python:3.9-slim environment: – PATH="/home/minkiu/.local/bin:/home/minkiu/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/minkiu/.pyenv/bin:/tmp/my_binaries" volumes: – "/tmp/my_binaries:/tmp/my_binaries" command: ..

Read more

I am trying to run sshpass inside Docker container I forked that project so that is my dockerfile: FROM postgres:9.4 RUN set -x && apt-get update && apt-get install -y –no-install-recommends ca-certificates curl sshpass lftp rsync openssh-client && rm -rf /var/lib/apt/lists/* && curl -L https://github.com/odise/go-cron/releases/download/v0.0.7/go-cron-linux.gz | zcat > /usr/local/bin/go-cron && chmod a+x /usr/local/bin/go-cron && apt-get ..

Read more

I’m trying to dockerize a hbase setup on a devcloud instance but I am getting this error when I’m trying to run the start-hbase.sh file /hbase-2.4.7/bin/hbase: line 794: /jdk1.8.0_281/bin/java: No such file or directory /hbase-2.4.7/bin/hbase: line 794: /jdk1.8.0_281/bin/java: No such file or directory I checked and I saw that the path is available so I’m ..

Read more

I use docker with COMPOSE_PROJECT_NAME to dynamically create container names. Somewhere in the last 2 months something changed and my local machine generates container names with hypens. e.g project-name-traefik-1 instead of project-name_traefik_1. How can I change this behavior as this breaks functionality on my linux docker server which for some reason keeps the old container ..

Read more