Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Issue with Docker-Compose with Docker for Windows

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, docker-compose, shell

Research direction

Start by inspecting the compose script's volume mapping and reproduce the Docker for Windows failure using the provided log, especially the '/host_mnt/hostroot:ro' specification. Determine the platform-compatible volume syntax and verify that docker-compose can create the docker-machine-agent container successfully.

Written by the indexing model from the issue text.

Description

Hi, been attempting to run the compose script for the docker-machine-agent using Docker for Windows (Windows 10), can anyone assist?

For sake of brevity I only added the logs starting with step 3/8:

Logtrace:

Step 3/8 : ENV MACHINE_AGENT_HOME /opt/appdynamics/machine-agent/
---> Running in 66e80ade398b
Removing intermediate container 66e80ade398b
---> dced206a6f31
Step 4/8 : ADD machine-agent.zip /tmp/
---> 98d7ee459302
Step 5/8 : RUN mkdir -p ${MACHINE_AGENT_HOME} && unzip -oq /tmp/machine-agent.zip -d ${MACHINE_AGENT_HOME} && rm /tmp/machine-agent.zip
---> Running in 806ffa746cf2
Removing intermediate container 806ffa746cf2
---> 7aa82fdb7449
Step 6/8 : ADD start-appdynamics ${MACHINE_AGENT_HOME}
---> 3f6a9c5c74fb
Step 7/8 : RUN chmod 744 ${MACHINE_AGENT_HOME}/start-appdynamics
---> Running in c806a8710030
Removing intermediate container c806a8710030
---> 9d72e551ce31
Step 8/8 : CMD "${MACHINE_AGENT_HOME}/start-appdynamics"
---> Running in 474bd559fc33
Removing intermediate container 474bd559fc33
---> 0a0a1ae6660e
Successfully built 0a0a1ae6660e
Successfully tagged appdynamics/docker-machine-agent:latest
WARNING: Image for service docker-machine-agent was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build.
Creating docker-machine-agent ... error

ERROR: for docker-machine-agent Cannot create container for service docker-machine-agent: invalid volume specification: '/host_mnt/hostroot:ro'

ERROR: for docker-machine-agent Cannot create container for service docker-machine-agent: invalid volume specification: '/host_mnt/hostroot:ro'
ERROR: Encountered errors while bringing up the project.

Dominant language
Shell
Stars
6
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from Appdynamics/docker-machine-agent

All issues in Appdynamics/docker-machine-agent

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.