Hi,
at the end of a “successfull build”, i.e. all lines in the Dockerfile executed successfully:
Removing intermediate container 7b69eb5166f8
max depth exceeded
If I remove the RUN commands in the Dockerfile there is no such message.
Any ideas what “max depth exceeded” means?
Regards
getting this too, did you ever resolve?
No, sorry. It was not so important for me. I’ve started from scratch again.
jimsander
(Jim Sander)
August 11, 2017, 5:53pm
4
I get this too, and it’s while trying ot edit a file in place; here I’m trying to sed
to the a destination file, whether I do it inline "sed -i"
or redirect
COPY conf/jenkins.conf /tmp/jenkins.conf
RUN sed "s/JENKINS_FQDN/$JENKINS_FQDN/g" /tmp/jenkins.conf > /etc/nginx/conf.d/jenkins.conf
awentzel
(Aaron Wentzel)
January 25, 2018, 6:55pm
5
Did you guys ever get a resolution to this?
itsogawa
(Itsogawa)
October 6, 2021, 6:44am
6
Has this problem been resolved?
I would like to know the solution.
I’m having trouble with it happening even after cleaning the environment as docker-compose down.
itsogawa
(Itsogawa)
October 6, 2021, 6:51am
7
Oh. I’ve just solved that problem.
It seems that docker-compose down does not make it clean.
You need to use docker image prune -a to be precise.
Thanks to the author of the following article.