Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Docker Config option for Splunk web.conf error

$
0
0
I am using Splunk/splunk:latest version(7.0.0) and docker compose version (3.4) . Also deploying an nginx proxy with context root as /splunk to forward to splunk web at 8000. The web.conf is added to the container as a docker config at /opt/splunk/etc/system/local/web.conf as root user, and also starting the container as root user. The splunk container fails to start with error: chown: changing ownership of ‘/opt/splunk/etc/system/local/web.conf’: Read-only file system web.conf: ------------- [settings] root_endpoint=/splunk -------------------- Docker-Compose: -------------------- version: "3.4" services: enterprise: image: splunk/splunk environment: SPLUNK_START_ARGS: --accept-license SPLUNK_USER: root ports: - "8000" - "8088" configs: - source: web.conf target: /opt/splunk/etc/system/local/web.conf uid: '0' gid: '0' mode: 0440 deploy: replicas: 1 restart_policy: condition: on-failure configs: web.conf: file: web.conf

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>