nextcloud / nextcloud/nextcloud-docker-dev

Podman support

Open
#213 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PHP
Stars
190
Forks
103
Avg merge
4h 36m
Merged PRs (30d)
1

Description

It would be great if nextcloud-docker-dev supports Podman. I can do some research on this.

Workaround:

⚠️ May vary depending on your system

Add 127.0.0.1 nextcloud.local to /etc/hosts.

Permit use of port 80:

sudo sysctl net.ipv4.ip_unprivileged_port_start=80

Remove this from the services in use

    extra_hosts:
      - host.docker.internal:host-gateway

(issue)

Remove/disable mount of additional.config.php from the compose file:

      # - ./data/additional.config.php:/var/www/html/config/additional.config.php:ro

Share port 80 from the nextcloud service

    ports:
      - "80:80"

Start nextcloud and the database

podman compose up database-mysql nextcloud

The dev environment should be available under http://nextcloud.local/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker-compose.yml and the Podman workaround in the issue, especially the additional.config.php mount, extra_hosts entries, and port 80 mapping. Run podman compose up database-mysql nextcloud and compare the result with the Docker development environment; done means the environment starts under Podman and is available at http://nextcloud.local/.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.