mitre-attack / mitre-attack/attack-workbench-frontend

[BUG] error mounting "/workbench/attack-workbench-frontend/docker/compose/docker-compose-resources/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf":

Open
#646 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
438
Forks
79
Avg merge
1d 21h
Merged PRs (30d)
3

Description

When I use the pre-built image to install Workbench, I encountered the following error message.
I followed the steps from:
https://github.com/center-for-threat-informed-defense/attack-workbench-frontend/blob/main/docs/docker-compose.md

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/workbench/attack-workbench-frontend/docker/compose/docker-compose-resources/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": create mountpoint for /etc/nginx/nginx.conf mount: cannot create subdirectories in "/var/lib/docker/overlay2/a7c81c690e068934cc07253a954772c2e9fcccd4e9bd09f447a264ad2fef030e/merged/etc/nginx/nginx.conf": not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Image

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 docs/docker-compose.md and inspect docker/compose/docker-compose-resources/nginx/nginx.conf and its mount configuration. Reproduce the pre-built-image installation and verify whether the host path and container target are the expected file types. Done means the documented installation starts without the reported nginx.conf mount error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, nginx
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.