Skip to content

Fix development container startup by creating required directories before volume mounts#2382

Closed
Copilot wants to merge 4 commits intodevelopfrom
copilot/sub-pr-2381
Closed

Fix development container startup by creating required directories before volume mounts#2382
Copilot wants to merge 4 commits intodevelopfrom
copilot/sub-pr-2381

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 20, 2026

Docker fails to mount volumes when target directories don't exist in the container, causing the development environment to fail at startup.

Changes

  • Dockerfile.dev: Added mkdir -p to create /app/packages/dappmanager/dnp_repo and /app/packages/dappmanager/DNCORE before volume mounts execute
  • docker-compose-dev.yml: Fixed typo in comment (absolteabsolute)

The directories must exist before docker-compose-dev.yml attempts to bind mount host paths:

volumes:
  - "/var/lib/docker/volumes/dncore_dappmanagerdnpdappnodeeth_data/_data:/app/packages/dappmanager/dnp_repo/"
  - "/usr/src/dappnode/DNCORE/:/app/packages/dappmanager/DNCORE/"

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Refactor volume paths in Dockerfile and docker-compose Fix development container startup by creating required directories before volume mounts Feb 20, 2026
Copilot AI requested a review from Marketen February 20, 2026 18:29
Base automatically changed from pablo/remove-ln-from-dev to develop February 23, 2026 09:57
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 23, 2026

@github-actions github-actions bot temporarily deployed to commit February 23, 2026 10:30 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants