Home > Software design >  docker run and build from github to a local vm?
docker run and build from github to a local vm?

Time:04-08

can i know is there any possibility to run docker build from my local Linux getting the files from GitHub and run the image after build in my local virtual machine?

which means there will be no physical files from my repository in my local Linux but only letting GitHub to do all the builds and i get the image from GitHub to run in my local virtual machine instead. is this possible?

As far as i know, Docker repository linking with GitHub is no longer available for free tier account.

CodePudding user response:

If I understood the question well, you can use GitHub Actions to build your Docker image and push it to the GitHub Packages. Then, you can pull that Docker image from GitHub Packages and run it on your local machine.

  • Related