Docker issues with serving and building #2556
Unanswered
Drgzidjiboy4ik
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Thanks for reporting. I've tested the latest Docker image (7.1.1) and it works as expected. Note that when you override the default command (which is Converting to discussion (not an issue but a configuration error). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a simple project using
docker run --rm -it -p 8000:8000 -v ${PWD}:/ squidfunk/mkdocs-material new .
When I try to serve using docker my localhost says "page not found" as if port was not exposed, though docker ps shows running
After I open /site/index.html the front page is loaded, but whenever I click any link, or even that fancy icon on the top left corner of the screen I am redirected to a list of all files in current folder. And only if I choose index.html in that folder, I ll get redirected to front page again. Same problem occurs when I build your project from here https://github.com/squidfunk/mkdocs-material.
Front page is build, but whenever I try to go to another page, I get list of all files into my face, and only after clicking index.html the page is opened.
3.1) When I open index.html in site folder my browser shows: file:///home/demaunt/Downloads/mkdocs-material-master/site/index.html
3.2) When I click "quick start" my browser shows file:///home/demaunt/Downloads/mkdocs-material-master/site/getting-started
3.3) And only after I click "index.html" in the opend list of files the browser opens file:///home/demaunt/Downloads/mkdocs-material-master/site/getting-started/index.html
P.S.: Sorry for my clumsy and rusty english, not a native speaker
Beta Was this translation helpful? Give feedback.
All reactions