question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publishing failure when using Docker

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tariquesanicommented, Mar 8, 2017

@meatballs Sorry to bug you but once again will you be submitting a pull request? 😄

0reactions
nixjdmcommented, Jul 29, 2019

I think you’re correct. Thanks for pointing it out!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found