I’m trying to run mysql arm64 docker image as a container but facing following issue. Docker image: mysql/mysql-server:latest Can someone please help? [email protected]:~/***/***/alfa$ docker logs 5563 [Entrypoint] MySQL Docker Image 8.0.23-1.1.19 sed: couldn’t open temporary file /etc/sedn5K5Bl: Permission denied [Entrypoint] MySQL Docker Image 8.0.23-1.1.19 sed: couldn’t open temporary file /etc/sediXLnr6: Permission denied [Entrypoint] MySQL Docker ..
I’m trying to build a nodejs app on docker. I have the following files –Dockerfile FROM mhart/alpine-node:12 RUN echo -e "http://nl.alpinelinux.org/alpine/v3.5/mainnhttp://nl.alpinelinux.org/alpine/v3.5/community" > /etc/apk/repositories RUN apk add –no-cache make gcc g++ python git USER root RUN apk –update add bash RUN apk add dos2unix –update-cache –repository http://dl-3.alpinelinux.org/alpine/edge/community/ –allow-untrusted COPY . /app WORKDIR /app RUN rm -rf ..
My scenario is a little bit complex: I have an environment variable in my Dockerfile, which is a path: ENV ORACLE_HOME=/home/oracle I need to do some file manipulation later, so I am using sed Unfortunately I need to escape the path characters for sed before I use the variable. This is what I have: ENV ..
After spinning up a docker container on DigitalOcean and editing any file (in home dir of non-root user) using sed’s "in-place" option, I’m getting a ‘permission denied’ error when trying to read that file: cd ~ echo yes > a.txt ls -al a.txt -rw-r–r– 1 user user 4 Sep 25 10:52 a.txt sed -i ‘s/yes/no/’ ..