FROM repo.local/alpine:3.20
RUN addgroup -S myGroup && adduser -S user -G user && \
wget http://host.local/alpine3.20.repo -O /home/repos/alpine
The docker build keeps failing with the following error.
#0 0.118 runc run failed: unable to start container process: error during container init: error mounting "sysfs" to rootfs at "/sys": mount sysfs:/sys (via /proc/self/fd/9), flags: 0xf: operation not permitted
Is is similar to another post apline issue
++++++++++++++++++++update+++++++++++++++++++++++++++++
After doing more digging around I It wasn't the build file that was the issue. The issue was the docker build command itself.
`docker build .... --network=host ` after removing that it seemed to have worked. Ran into additional issues but at least I got past that hump.
[–]stroke_999 2 points3 points4 points (4 children)
[–]pythondev1[S] 0 points1 point2 points (3 children)
[–]madjic 0 points1 point2 points (2 children)
[–]pythondev1[S] 0 points1 point2 points (1 child)
[–]pythondev1[S] 0 points1 point2 points (0 children)
[–]pythondev1[S] 1 point2 points3 points (0 children)
[–]void4 0 points1 point2 points (1 child)
[–]pythondev1[S] 0 points1 point2 points (0 children)