failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)
запускается под рутом
FROM debian:latest
#installs
RUN apt-get update -y
RUN apt-get install docker -y
RUN apt-get install docker-compose -y
#copy files to container
COPY ./ ./
#set user
USER root
#docker daemon running
RUN dockerd
#building
RUN docker-compose --file docker-compose.yml build
Буду очень благодарен если подскажете, куда копать..
#docker daemon running RUN dockerd ?
Обсуждают сегодня