Git Product home page Git Product logo

Comments (11)

tech10 avatar tech10 commented on August 14, 2024

I have no experience with Docker. I will look into this, but if anyone has a pull request, I'll check it and merge if it passes any requirements. Integration with GitHub actions or goreleaser would be helpful for this as well.

Here are a couple good goals for the Docker image.

  • The Dockerfile should build a static executable.
  • If possible, the Docker image should only include the executable, so as to keep it as small as possible.

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

@dingpengyu
792d5bb should bring this one step closer. Integration with goreleaser or GitHub actions is another issue entirely, but Docker images can be locally built and executed. I have tested this, and it does appear to work.

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

@dingpengyu
v0.1.15 should have produced a docker image that should run on Linux X86_64. You can get it here. Please let me know if there are any problems, and if this will resolve this issue.

from nvdaremoteserver.

dpy013 avatar dpy013 commented on August 14, 2024

@dingpengyu
v0.1.15 should have produced a docker image that should run on Linux X86_64. You can get it here. Please let me know if there are any problems, and if this will resolve this issue.

hello
The following error occurs when pulling the image:
server/nvdaremoteserver-docker
Using default tag: latest
Error response from daemon: Head https://docker.pkg.github.com/v2/tech10/nvdarem
oteserver/nvdaremoteserver-docker/manifests/latest: no basic auth credentials

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

I have also received this error. I believe you must first log in with Docker. I have found no way to modify the package settings to allow anonymous downloads, despite reading documentation on the matter for quite some time. I'm looking into migrating to the new GitHub container registry as well as upgrading the GitHub actions. Hopefully, I can get all this working correctly.

from nvdaremoteserver.

dpy013 avatar dpy013 commented on August 14, 2024

I have also received this error. I believe you must first log in with Docker. I have found no way to modify the package settings to allow anonymous downloads, despite reading documentation on the matter for quite some time. I'm looking into migrating to the new GitHub container registry as well as upgrading the GitHub actions. Hopefully, I can get all this working correctly.

Thank you for your work

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

@dingpengyu
Try this.
I was able to pull the image, but beyond that, I have no idea what I'm doing. Let me know if this works for you.

from nvdaremoteserver.

dpy013 avatar dpy013 commented on August 14, 2024

@dingpengyu
Try this.
I was able to pull the image, but beyond that, I have no idea what I'm doing. Let me know if this works for you.
hello tech
Thanks to your work, the docker image is now running successfully.

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

Excellent, I'm glad to hear it.

from nvdaremoteserver.

tech10 avatar tech10 commented on August 14, 2024

@dingpengyu I have updated documentation and added Docker Hub images. Since you brought this up, I thought you'd be interested in knowing this. Examples on use with Docker are in the readme. The Docker Hub image pulls will likely be easier than those in the GitHub Container Registry, considering that, at the moment, the Docker Hub image pulls will always download the latest built image.

from nvdaremoteserver.

dpy013 avatar dpy013 commented on August 14, 2024

@dingpengyu I have updated documentation and added Docker Hub images. Since you brought this up, I thought you'd be interested in knowing this. Examples on use with Docker are in the readme. The Docker Hub image pulls will likely be easier than those in the GitHub Container Registry, considering that, at the moment, the Docker Hub image pulls will always download the latest built image.

Yes I like to use docker because it's convenient and I'm running docker on my soft routes and cloud servers.

from nvdaremoteserver.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.