I would like to integrate img functionality into my already exiting container thats based off of debain stretch. But im running into a few issues. Right now in my already exiting Dockerfile, I am getting the binary and moving it to my PATH
FROM debian:stretch
.
.
.
# img
ARG IMG_VERSION=v0.5.7
RUN curl -fSL https://github.com/genuinetools/img/releases/download/${IMG_VERSION}/img-linux-amd64 -o /usr/local/bin/img && \
chmod a+x /usr/local/bin/img
Now if I run the above as root user, I can successfully run a img pull
$ docker run -it --privileged slave:1.0.7 bash
jenkins@0291b17a4f72:~$ img pull debian:testing-slim
newuidmap: write to uid_map failed: Invalid argument
nsenter: failed to use newuidmap: No such file or directory
nsenter: failed to sync with parent: SYNC_USERMAP_ACK: got 255: No such file or directory
What do all of these errors mean ? And is there something I can do about it ?
I would like to integrate
img
functionality into my already exiting container thats based off of debain stretch. But im running into a few issues. Right now in my already exiting Dockerfile, I am getting the binary and moving it to my PATHNow if I run the above as root user, I can successfully run a
img pull
But part of my flow is that I need to switch to another user.
Now when I spun up my base docker image, I get
What do all of these errors mean ? And is there something I can do about it ?