Skip to content

[Docker/Helm] Can't create /etc/nginx/conf.d/default.conf: Read-only file system #66

@timoa

Description

@timoa

Honcho version / commit

0.14.0 -> 0.16.0

What happened?

While deploying OpenConcho with the Helm chart, I'm getting the following errors in 0.16.0 and also 0.14.0:

/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.d/20-envsubst-on-templates.sh: line 53: can't create /etc/nginx/conf.d/default.conf: Read-only file system

What did you expect?

Launching the Docker image without errors when using the Helm Chart (haven't tried Docker Compose yet)

Steps to reproduce

  1. Deploy the Helm chart
  2. The Docker image is downloaded by Kubernetes
  3. Docker is launching and stopped due to an error

Additional context

MicroK8S v1.35 on Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions