Docker run github branch/pull request

I forked whilp/ssh-agent and created a feature enhancement and submitted a pull request.

I want to reference/use my branch until it is accepted. On my CI agents, and I don’t want to go locally to each one to build a local image.

  • Is it possible to create a docker image from Ubuntu ISO on Windows offline?
  • WordPress GUI on Kubernetes
  • Write error when importing large database to docker
  • Deleting files inside docker container not freeing up space on host system
  • Issuing a Docker command while in another container
  • docker restart policy doesn't work?
  • github.com/rosskevin/ssh-agent branch: feature-known-hosts is what I’d like to use with the run command, is this possible? I can’t find references to using github (not to mention a branch) with run, only build.

    i.e.

    docker run -d --name=ssh-agent whilp/ssh-agent \
       github.com/rosskevin/ssh-agent -b feature-known-hosts
    

    Any other advice on docker project patches/workflow/best practices? This is really easy with Bundler, looking for an analog here.

  • Cluster node can't rejoin the cluster in docker swarm after its restart
  • Create a kubernetes namespace using config instead of API
  • Can I use docker to provide a simple file overlay over my current system?
  • Docker - non-privileged user can write to / inside container
  • Docker wordpress multisite with subdomains
  • Files deleted inside docker container not freeing space
  • One Solution collect form web for “Docker run github branch/pull request”

    You can’t run a docker image directly from GitHub, because GitHub is made to store only the code itself.

    When you run the following command:

    docker run -d --name=ssh-agent whilp/ssh-agent
    

    Docker is looking for whilp/ssh-agent on Docker Hub, and not on GitHub.
    Docker Hub is the equivalent of GitHub for Docker images.

    To use your pull request the same way you are using whilp/ssh-agent, you need to create an account on Docker Hub, and create an automated build based on your ssh-agent fork (tutorial here).

    Finally, you will be able to use your version with:

    docker run -d --name=ssh-agent <username>/ssh-agent
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.