I created a virtual repository that combines the local docker repository for our internal use and the public docker registry. How do I use this virtual repository to docker pull images?
Here is the documentation I am reading https://www.jfrog.com/confluence/display/RTF/Virtual+Repositories
I did not find the url that should be used to access these repos.
Related
Repos missing suddenly in azure container registry instance.
There were lots of repos in ACR instance and now i am seeing its not available.
Can you help here.
It says "unable to send request to fetch repositories"
If your repositories or tags not available in azure portal I would suggest you use the Firefox or Chrome to list all of your registry's repositories.
To unable to send request to fetch repositories
It's possible to fetch repositories but the browser may be unable to send the server's request to fetch repositories.
Make sure the registration portal you are using from a public network it's allows only private access.
To prevent these issues, Ensure your network connectivity is sufficient, DNS mistakes & Ads blockers.
And check whether you have enabled firewall.
Try to run this command az acr check-health -n yourRegistry using Azure CLI to determine whether your environment can connect to the Container Registry. To avoid any expired cookie, try to use incognito or private session in your browser.
Reference: Azure Container Registry | Microsoft Docs
I have a static website that I would like to deploy to my Apache httpd server using Jenkins or any other methods.
my code base available in GitHub.
My files in server has to be updated in path: /var/www/html
you could set Jenkins to Poll your Repository in Github. You will need to set up the integrations between Github and Jenkins so Jenkins can poll your Repo for changes. Then you can use a Copy tool of your choice, like Rsync or SCP, and run them in the Jenkins Script to copy the file to your server.
Jenkins Polling and SCM Management - https://www.softwaretestinghelp.com/jenkins-job-tutorial/
I need to create a Google Compute Engine Virtual Machine instance with no VPC.
For the App environment that I am using, I need to use the Public IP Address directly such as DigitalOcean Droplet, so if I run ifconfig command should show the interface with the public IP Address.
Each Compute Engine instance belongs to at least one VPC network. The use case you are describing is likely impossible given GCP's software-defined network architecture.
You can't create a VM in GCP without it belonging to some VPC. Console gui won't allow you that - you just have to have at least one interface.
But - there's a workaround;
ssh to your VM and create additional user & password; add this user to sudo group: (adduser username; echo 'sudouser:userspass' | chpasswd; usermod -aG google-sudoers sudouser)
logout
enable serial-console interactive aceess
login using serial console
disable all network interfaces
This way you will have a VM with only a serial console access - however I didn't try this myself.
There is a way to do it(not the vpc part because it's not possible but to see the external IP directly on vm). steps are below:
Launch a VM in VPC first, while launching, in networking section, set the IP-Forwarding on. --> do it while creating, once the vm is created, you can't do that.
Reserve a External IP in your project and vpc.
In the VPC routing, create a route and for destination network x.x.x.x/32 (reserved Public IP) --> point the next hop as the VM.
In VM, create a Sub interface and assign the public IP directly using ip addr.
Note: This works only if you're able to reach to VPC, example: VPN to access the VM over public IP.
How do I pull some updates to local repository from Gitlab remote using libgit2sharp?
Gitlab repo uses no authentication - it is public (and should be).
I am attempting to use GitHub Desktop with the Git repository on hub.jazz.net. I cannot figure out how to authenticate with the repository, even after I have tried both the regular Git and Git Enterprise authentication methods.
Any suggestions are welcome.
From the CLI set the remote host of the local repo to jazz.net using this format:
$ git remote set-url origin https://your_alias:your_IBM_ID_password#hub.jazz.net/alias/project_name
more here on connecting local git clients.