title: Docker - max depth exceeded
body: <p>So I am using this example:</p>
  
  <p><a href="https://github.com/mcmoe/mssqldocker" rel="noreferrer">https://github.com/mcmoe/mssqldocker</a></p>
  
  <p>In order to create a SQL Server image and load it with data.  I have several sql scripts which I run when I run the container.</p>
  
  <p>However, I started getting this error when building the image:</p>
  
  <pre><code>Step 7/9 : ENTRYPOINT ./entrypoint.sh
   ---&gt; Running in c8c654f6a630
  max depth exceeded
  </code></pre>
  
  <p>I'm not sure how to fix this, I restarted docker and even updated it.
  I read something about 125 layers?  Can anyone explain the cause of this and a potential fix?</p>
  
  <p>I found this command to run:</p>
  
  <pre><code>docker history microsoft/mssql-server-linux:latest | wc -l
   312
  </code></pre>
  
  <p>My docker-compose yml:</p>
  
  <pre><code>version: "3"
  services:
    mssql:
        build: .
        image: 'microsoft/mssql-server-linux'
        ports:
            - '1433:1433'
        environment:
            - ACCEPT_EULA=Y
            - SA_PASSWORD=Abcgfgh123!
        volumes:
            - db_volume:/var/lib/mssql/data
  volumes:
    db_volume:
  </code></pre>