You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
I'm a beginner in docker.
U will use setiseta /docker-php52 for a older project.
I work under windows and dockerdesktop.
I will start a container.
My app is under C:/xampp1/htdocs/docker-php52/data/webapp .
I will start the container with;
I get a information:
C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: invalid mode: /xampp1/htdocs/docker-php52/data/webapp.
Can you help ?
Your sincerly
Stephan
The text was updated successfully, but these errors were encountered:
On Windows it is always different. So I'm not Sure if it will work at all.
But in your Start command there is an error on the volume mapping.
The left side is the host, the right side is Inside the Container.
So you will need to change it to:
-v C:/xampp1/htdocs/docker-php52/data/webapp:/home/www/webapp
Maybe this helps.
Best Regards
Sebastian
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm a beginner in docker.
U will use setiseta /docker-php52 for a older project.
I work under windows and dockerdesktop.
I will start a container.
My app is under C:/xampp1/htdocs/docker-php52/data/webapp .
I will start the container with;
NAME="php52"
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
docker run -d
-p 80:80
-v $DIR/data/webapp:C:/xampp1/htdocs/docker-php52/data/webapp
--restart=always
--name $NAME
seti/php52
I get a information:
C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: invalid mode: /xampp1/htdocs/docker-php52/data/webapp.
Can you help ?
Your sincerly
Stephan
The text was updated successfully, but these errors were encountered: