Issue with Docker-Compose with Docker for Windows
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
- Domain
- devops, infrastructure
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Appdynamics/docker-machine-agent
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Appdynamics/docker-machine-agent#5 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Appdynamics/docker-machine-agent#4 · 1 comment ·
All issues in Appdynamics/docker-machine-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Difficulty 1/5 Under an hour Newbie friendliness 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
carbon-language/carbon-lang#7821 ·