title: Is it possible to skip license agreement page when splunk starts on first time in docker container?
body: <p>I have created a Dockerfile when the container builds during that time I need to create multiple login users on backside of Splunk.</p>
  
  <p>I am getting splunk agreement issue unable to skip/accept agreement on build container as shown below.</p>
  
  <hr>
  
  <p><strong>Dockerfile</strong></p>
  
  <pre><code>FROM splunk/splunk:latest
  ENV SPLUNK_HOME /opt/splunk
  RUN apt-get update &amp;&amp; apt-get install -y wget
  COPY ./splunk-launch.conf /opt/splunk/etc/splunk-launch.conf
  COPY ./splunk.license /opt/splunk/etc/licenses/enterprise/splunk.license
  COPY ./My-app1 / /opt/splunk/etc/apps/My-app1
  COPY ./My-app2 /opt/splunk/etc/apps/My-app2
  COPY ./My-app3 /opt/splunk/etc/apps/My-app3
  COPY ./splunk_user.sh /opt/splunk/bin/splunk_user.sh
  RUN chmod +x /opt/splunk/bin/splunk_user.sh
  RUN chown -R splunk:splunk /opt/splunk/bin/splunk_user.sh
  EXPOSE 8000/tcp 8089/tcp 8191/tcp 9997/tcp 1514 8088/tcp
  VOLUME [ “/opt/splunk/etc”, “/opt/splunk/var” ]
  WORKDIR /opt/splunk/bin
  CMD [“./splunk_user.sh”]
  </code></pre>
  
  <hr>
  
  <p><strong>splunk_user.sh</strong> </p>
  
  <pre><code>./splunk add user pradeep -password passwd123 -role admin -email pradeep@gmail.com -full-name Pradeep -auth admin:changeme
  ./splunk add user sankar -password passwd123 -role admin -email sankar@gmail.com -full-name Sankar -auth admin:changeme
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <p><a href="https://i.stack.imgur.com/24Pwk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/24Pwk.png" alt="enter image description here"></a></p>