Publishing failure when using Docker
See original GitHub issueI’ve attempted to use lektor within a docker container and hit an error when attempting to publish. The full details are on this stackoverflow question: http://stackoverflow.com/questions/40504793/how-can-i-run-lektor-within-a-docker-container
The problem appears to be the fact that the project files are mounted on a separate volume within the container. Since the build path is elsewhere within the container, the filesystems are different and the hard linking in publisher.link_artifacts
fails.
Can I suggest an extra condition at the top of that method which checks whether the project folder and the temporary folder are on the same volume and, if not, uses shutil.copy
rather than os.link
?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Error publishing extension in docker container
Hi ! I'm trying to make my first extension on a isolated docker container. I think I've followed all the steps in documentation....
Read more >NET to Docker Hub built success but publish failed
I am trying to publish my .NET Core project to Docker Hub with Visual Studio 2017. Right click for Publish. Next, I select...
Read more >Docker Publish to Container fails for dotnet projects with ...
I have an sln that contains a main project and three project dependencies two of the project dependencies are getting copied correctly ...
Read more >Publishing a docker image to a private registry fails without ...
I am trying to build and push the docker image to this registry with the spring-boot:build-image command but I get an error ......
Read more >Troubleshooting errors with Docker commands when using ...
Error: "Filesystem Layer Verification Failed" when pulling images from Amazon ECR · You are using an older version of Docker. This error can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@meatballs Sorry to bug you but once again will you be submitting a pull request? 😄
I think you’re correct. Thanks for pointing it out!