Category : permissions

version: "3.5" services: my_jaeger: image: "jaegertracing/all-in-one:latest" container_name: my_jaeger restart: always networks: default: aliases: – "jaeger" environment: SPAN_STORAGE_TYPE: badger BADGER_EPHEMERAL: ‘false’ BADGER_DIRECTORY_VALUE: /badger/data BADGER_DIRECTORY_KEY: /badger/key volumes: – ${BIND_MOUNT_ROOT}/data/apps/my_app/badger:/badger ports: – ‘16686:16686’ – ‘6831:6831/udp’ networks: default: external: name: my_network I have a docker-compose.yml file & when my_jaeger container runs, I could not cd into ${BIND_MOUNT_ROOT}/data/apps/my_app/badger/data I got ..

Read more

I am running a Docker container in a Windows host machine through Docker Toolbox and the Quickstart Terminal with the following command: docker run –init -d –name <my_docker_name> –restart=always -v ~/init-files/config:/tmp/config/:ro -v ~/init-files/certs:/application/certs:ro -v ~/init-files/logs:/application/logs -v ~/ftp-files:/ftp-files –env-file .env -p 443 <my_docker_container_image> When I look at the mounted volume in my Container, I would expect ..

Read more

I’m trying to access the serial port (as a user) in my privileged docker container which is already running, but I’m getting "permission denied" errors, while the permissions should be correctly set. As a minimal reproducible example (assuming serial device is connected to /dev/ttyUSB0): # start docker container with your user id, give it privileged ..

Read more

I have Docker (so I can use pdf2htmlEX) running on a Lightsail instance for dev purposes. This is all working fine using this: exec(‘docker run –rm -v ‘ . $fileLoc . ‘:/pdf -u 1000:1000 bwits/pdf2htmlex pdf2htmlEX –embed cfijo –split-pages 1 –zoom 1 –dest-dir presentations/’ . $presName . ‘ –page-filename content-%d.page temp_pdf/’ . $filename . ‘ ..

Read more

Problem statement I have the following Dockerfile: ARG BASE_IMAGE=python:3.9-slim FROM $BASE_IMAGE as base RUN apt update && apt install –yes –no-install-recommends build-essential libsasl2-dev && apt clean RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" RUN pip install –upgrade –no-cache-dir pip && pip install –no-cache-dir dbt-spark[PyHive]==0.20.1 FROM $BASE_IMAGE as runtime RUN apt update && apt install –yes ..

Read more